#34243E#34243E

#34243E is a dark, muted violet. Relative luminance 0.023; OKLCH L 29.1% C 0.051 H 311.7°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#34243E
RGBrgb(52, 36, 62)
HSLhsl(277, 27%, 19%)
HSVhsv(277, 42%, 24%)
CMYKcmyk(16.1%, 41.9%, 0%, 75.7%)
CIE-LABlab(17.18, 13.53, -13.72)
CIE-LCHlch(17.18, 19.26, 314.60°)
OKLaboklab(29.14% 0.0337 -0.0378)
OKLCHoklch(29.14% 0.051 311.7)
XYZxyz(2.9164, 2.3397, 4.8545)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34243E #2E3E24
analogous
#27243E #34243E #3E243B
triadic
#34243E #3E3424 #243E34
tetradic
#34243E #3E2724 #2E3E24 #243B3E
square
#34243E #3E2724 #2E3E24 #243B3E
split-complementary
#34243E #3B3E24 #243E27
monochromatic
#100B13 #140E17 #34243E #543A65 #75518B

Accessibility & contrast

On white

14.31
#34243E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#34243E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34243E
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34243E#FFFFFF#000000##FFFFFF
##34243E1.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F293F
Deuteranopia (green-blind)
#232B3D
Tritanopia (blue-blind)
#33282E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #34243e;
/* rgb */ color: rgb(52, 36, 62);
/* oklch */ color: oklch(29.1% 0.051 311.7);
Tailwind
colors: {
  custom: {
    50: '#6c5f73',
    500: '#34243e',
    950: '#000000',
  },
}
SCSS
$custom: #34243e;
$custom-light: #6c5f73;
$custom-dark: #000000;
JSON
{
  "hex": "#34243e",
  "rgb": {
    "r": 52,
    "g": 36,
    "b": 62
  },
  "hsl": {
    "h": 276.923,
    "s": 26.531,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29142,
    "c": 0.05063,
    "h": 311.7
  },
  "luminance": 0.0234
}

Semantic roles & 50–950 ramp

primary
#34243E
secondary
#5B714D
accent
#C36589
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#070408
muted
#7A797B

Preview Lab

Preview with #34243E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#34243E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva