#34243F#34243F

#34243F is a dark, muted violet. Relative luminance 0.024; OKLCH L 29.2% C 0.052 H 310.6°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#34243F
RGBrgb(52, 36, 63)
HSLhsl(276, 27%, 19%)
HSVhsv(276, 43%, 25%)
CMYKcmyk(17.5%, 42.9%, 0%, 75.3%)
CIE-LABlab(17.23, 13.80, -14.33)
CIE-LCHlch(17.23, 19.89, 313.92°)
OKLaboklab(29.2% 0.034 -0.0396)
OKLCHoklch(29.2% 0.052 310.6)
XYZxyz(2.9441, 2.3507, 5.0003)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34243F #2F3F24
analogous
#27243F #34243F #3F243D
triadic
#34243F #3F3424 #243F34
tetradic
#34243F #3F2724 #2F3F24 #243D3F
square
#34243F #3F2724 #2F3F24 #243D3F
split-complementary
#34243F #3D3F24 #243F27
monochromatic
#100B13 #140E18 #34243F #543A66 #74518D

Accessibility & contrast

On white

14.28
#34243F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34243F
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34243F#FFFFFF#000000##FFFFFF
##34243F1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34243f;
/* rgb */ color: rgb(52, 36, 63);
/* oklch */ color: oklch(29.2% 0.052 310.6);
Tailwind
colors: {
  custom: {
    50: '#6c5f74',
    500: '#34243f',
    950: '#000000',
  },
}
SCSS
$custom: #34243f;
$custom-light: #6c5f74;
$custom-dark: #000000;
JSON
{
  "hex": "#34243f",
  "rgb": {
    "r": 52,
    "g": 36,
    "b": 63
  },
  "hsl": {
    "h": 275.556,
    "s": 27.273,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29199,
    "c": 0.05214,
    "h": 310.6
  },
  "luminance": 0.02351
}

Semantic roles & 50–950 ramp

primary
#34243F
secondary
#5C724D
accent
#C4648B
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#070408
muted
#7A797B

Preview Lab

Preview with #34243F

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

Preview Lab → · Contrast checker → · Palette generator →

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