34283F

#34283F closest to Midnight Masquerade

#34283F is a dark, muted purple; the closest named color is Midnight Masquerade. In the RGB color model it is made of 20.4% red, 15.7% green and 24.7% blue (rgb(52, 40, 63)). Its HSL value is 271° hue, 22% saturation and 20% lightness, and in CMYK it is 17% cyan, 37% magenta, 0% yellow and 75% black. #34283F is a cool color. White text reads best on it, with a contrast ratio of 13.80:1.

#34283F color conversion

HEX
RGB
HSL
HSB / HSV
HWB
CMYK
XYZ
CIELAB
CIELCh
CIELUV
OKLCH

Variations of #34283F

Shades

Mixed with black: richer and darker.

Tints

Mixed with white: lighter and softer.

Tones

Mixed with gray: calmer and more muted.

Hues

The same lightness and chroma, rotated around the color wheel.

Temperatures

Cooler on the left, warmer on the right.

#34283F color harmonies

Complementary

The opposite hue — maximum contrast and energy.

Open in generator →

Split complementary

The two hues next to the complement — contrast with less tension.

Open in generator →

Analogous

Neighbouring hues — calm, cohesive and natural.

Open in generator →

Triadic

Three hues evenly spaced at 120° — vibrant yet balanced.

Open in generator →

Tetradic

Two complementary pairs — rich, best with one dominant color.

Open in generator →

Square

Four hues spaced at 90° — bold and playful.

Open in generator →

#34283F for color-blind viewers (and dogs)

How #34283F appears with each type of color vision deficiency (Machado 2009 model) — and to your dog. Try the dog vision simulator →

  • Dog vision 94% similarHow dogs see it · simulated as #262D3E
  • Protanopia 94% similar1.3% of men, 0.02% of women · simulated as #242C40
  • Protanomaly 96% similar1.3% of men, 0.02% of women · simulated as #292B3F
  • Deuteranopia 94% similar1.2% of men, 0.01% of women · simulated as #262D3E
  • Deuteranomaly 96% similar5% of men, 0.35% of women · simulated as #2B2B3F
  • Tritanopia 94% similar0.001% of men, 0.03% of women · simulated as #332B30
  • Tritanomaly 98% similar0.0001% of men, 0.0001% of women · simulated as #342939
  • Achromatopsia 91% similar0.003% of men, 0.003% of women · simulated as #2D2D2D
  • Achromatomaly 94% similar0.001% of men, 0.001% of women · simulated as #2F2C32

#34283F contrast checker

AaThe quick brown fox jumps over the lazy dog.
13.80:1 Super#34283F text on white
AA normalPassAAA normalPass
AA largePassAAA largePass
AaThe quick brown fox jumps over the lazy dog.
1.52:1 Very poor#34283F text on black
AA normalFailAAA normalFail
AA largeFailAAA largeFail

Need another background? Pick any pair in the palette generator and open the contrast panel.

Colors similar to #34283F

Palettes with #34283F

#34283F in CSS

/* Midnight Masquerade */
.color { color: #34283F; }
.background { background-color: #34283F; }
.border { border: 1px solid #34283F; }

/* Other notations */
color: rgb(52 40 63);
color: hsl(271 22% 20%);
color: oklch(0.301 0.044 307.8);

#34283F FAQ

What color is #34283F?

#34283F is a dark, muted purple. Its closest named color is Midnight Masquerade. It belongs to the purple color family and is a cool color.

What is the RGB value of #34283F?

#34283F is rgb(52, 40, 63) in RGB, hsl(271, 22%, 20%) in HSL and cmyk(17%, 37%, 0%, 75%) in CMYK.

What is the complementary color of #34283F?

The complementary color of #34283F is #333F28, which sits opposite it on the color wheel.

Which text color works on #34283F?

White text has the best contrast on #34283F: 13.80:1, which meets the WCAG AA requirement of 4.5:1 for normal text.

Is #34283F a warm or cool color?

#34283F is a cool color.