#24062F#24062F

#24062F is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.3% C 0.081 H 315.4°. Best body text is #FFFFFF at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#24062F
RGBrgb(36, 6, 47)
HSLhsl(284, 77%, 10%)
HSVhsv(284, 87%, 18%)
CMYKcmyk(23.4%, 87.2%, 0%, 81.6%)
CIE-LABlab(6.42, 23.12, -20.08)
CIE-LCHlch(6.42, 30.62, 319.02°)
OKLaboklab(20.27% 0.0579 -0.0571)
OKLCHoklch(20.27% 0.081 315.4)
XYZxyz(1.3057, 0.7106, 2.7572)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24062F #112F06
analogous
#0F062F #24062F #2F0625
triadic
#24062F #2F2406 #062F24
tetradic
#24062F #2F0F06 #112F06 #06252F
square
#24062F #2F0F06 #112F06 #06252F
split-complementary
#24062F #252F06 #062F0F
monochromatic
#15031B #15031B #24062F #4E0D65 #77149C

Accessibility & contrast

On white

18.39
#24062F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24062F
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24062F#FFFFFF#000000##FFFFFF
##24062F1.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001230
Deuteranopia (green-blind)
#05152E
Tritanopia (blue-blind)
#230E19
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #24062f;
/* rgb */ color: rgb(36, 6, 47);
/* oklch */ color: oklch(20.3% 0.081 315.4);
Tailwind
colors: {
  custom: {
    50: '#604968',
    500: '#24062f',
    950: '#000000',
  },
}
SCSS
$custom: #24062f;
$custom-light: #604968;
$custom-dark: #000000;
JSON
{
  "hex": "#24062f",
  "rgb": {
    "r": 36,
    "g": 6,
    "b": 47
  },
  "hsl": {
    "h": 283.902,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20272,
    "c": 0.08138,
    "h": 315.4
  },
  "luminance": 0.00711
}

Semantic roles & 50–950 ramp

primary
#24062F
secondary
#367021
accent
#F43467
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #24062F

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

Preview Lab → · Contrast checker → · Palette generator →

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