#240620#240620

#240620 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.1% C 0.065 H 333.4°. Best body text is #FFFFFF at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#240620
RGBrgb(36, 6, 32)
HSLhsl(308, 71%, 8%)
HSVhsv(308, 83%, 14%)
CMYKcmyk(0%, 83.3%, 11.1%, 85.9%)
CIE-LABlab(5.51, 18.77, -10.09)
CIE-LCHlch(5.51, 21.31, 331.75°)
OKLaboklab(19.12% 0.0581 -0.0291)
OKLCHoklch(19.12% 0.065 333.4)
XYZxyz(1.0534, 0.6097, 1.4284)
Luminance0.0061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240620 #06240A
analogous
#190624 #240620 #240611
triadic
#240620 #202406 #062024
tetradic
#240620 #241906 #06240A #061124
square
#240620 #241906 #06240A #061124
split-complementary
#240620 #112406 #062419
monochromatic
#1A0417 #1A0417 #240620 #580F4F #8D177D

Accessibility & contrast

On white

18.72
#240620 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#240620 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240620
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240620#FFFFFF#000000##FFFFFF
##2406201.0018.721.1218.72
#FFFFFF18.721.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#050F21
Deuteranopia (green-blind)
#0F141F
Tritanopia (blue-blind)
#260811
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #240620;
/* rgb */ color: rgb(36, 6, 32);
/* oklch */ color: oklch(19.1% 0.065 333.4);
Tailwind
colors: {
  custom: {
    50: '#5f495b',
    500: '#240620',
    950: '#000000',
  },
}
SCSS
$custom: #240620;
$custom-light: #5f495b;
$custom-dark: #000000;
JSON
{
  "hex": "#240620",
  "rgb": {
    "r": 36,
    "g": 6,
    "b": 32
  },
  "hsl": {
    "h": 308,
    "s": 71.429,
    "l": 8.235
  },
  "oklch": {
    "l": 0.19118,
    "c": 0.065,
    "h": 333.4
  },
  "luminance": 0.0061
}

Semantic roles & 50–950 ramp

primary
#240620
secondary
#21642A
accent
#EE523A
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#050104
muted
#797779

Preview Lab

Preview with #240620

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

Preview Lab → · Contrast checker → · Palette generator →

#240620 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva