#24062C#24062C

#24062C is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.0% C 0.078 H 318.4°. Best body text is #FFFFFF at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#24062C
RGBrgb(36, 6, 44)
HSLhsl(287, 76%, 10%)
HSVhsv(287, 86%, 17%)
CMYKcmyk(18.2%, 86.4%, 0%, 82.7%)
CIE-LABlab(6.21, 22.21, -18.17)
CIE-LCHlch(6.21, 28.70, 320.72°)
OKLaboklab(20.02% 0.0583 -0.0517)
OKLCHoklch(20.02% 0.078 318.4)
XYZxyz(1.2472, 0.6872, 2.4493)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24062C #0E2C06
analogous
#11062C #24062C #2C0621
triadic
#24062C #2C2406 #062C24
tetradic
#24062C #2C1106 #0E2C06 #06212C
square
#24062C #2C1106 #0E2C06 #06212C
split-complementary
#24062C #212C06 #062C11
monochromatic
#16041B #16041B #24062C #500D62 #7C1598

Accessibility & contrast

On white

18.46
#24062C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#24062C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24062C
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24062C#FFFFFF#000000##FFFFFF
##24062C1.0018.461.1418.46
#FFFFFF18.461.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122D
Deuteranopia (green-blind)
#08152B
Tritanopia (blue-blind)
#240D18
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #24062c;
/* rgb */ color: rgb(36, 6, 44);
/* oklch */ color: oklch(20.0% 0.078 318.4);
Tailwind
colors: {
  custom: {
    50: '#604965',
    500: '#24062c',
    950: '#000000',
  },
}
SCSS
$custom: #24062c;
$custom-light: #604965;
$custom-dark: #000000;
JSON
{
  "hex": "#24062c",
  "rgb": {
    "r": 36,
    "g": 6,
    "b": 44
  },
  "hsl": {
    "h": 287.368,
    "s": 76,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20018,
    "c": 0.07796,
    "h": 318.4
  },
  "luminance": 0.00687
}

Semantic roles & 50–950 ramp

primary
#24062C
secondary
#316D21
accent
#F3355D
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050105
muted
#79777A

Preview Lab

Preview with #24062C

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

Preview Lab → · Contrast checker → · Palette generator →

#24062C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva