#24073D#24073D

#24073D is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.7% C 0.096 H 303.6°. Best body text is #FFFFFF at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#24073D
RGBrgb(36, 7, 61)
HSLhsl(272, 79%, 13%)
HSVhsv(272, 89%, 24%)
CMYKcmyk(41%, 88.5%, 0%, 76.1%)
CIE-LABlab(7.80, 26.75, -28.08)
CIE-LCHlch(7.80, 38.78, 313.61°)
OKLaboklab(21.73% 0.0532 -0.0801)
OKLCHoklch(21.73% 0.096 303.6)
XYZxyz(1.6456, 0.8639, 4.4940)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24073D #203D07
analogous
#09073D #24073D #3D073B
triadic
#24073D #3D2407 #073D24
tetradic
#24073D #3D0907 #203D07 #073B3D
square
#24073D #3D0907 #203D07 #073B3D
split-complementary
#24073D #3B3D07 #073D09
monochromatic
#10031B #10031B #24073D #440D74 #6514AB

Accessibility & contrast

On white

17.91
#24073D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#24073D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24073D
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24073D#FFFFFF#000000##FFFFFF
##24073D1.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173E
Deuteranopia (green-blind)
#00173C
Tritanopia (blue-blind)
#1F1522
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #24073d;
/* rgb */ color: rgb(36, 7, 61);
/* oklch */ color: oklch(21.7% 0.096 303.6);
Tailwind
colors: {
  custom: {
    50: '#624a73',
    500: '#24073d',
    950: '#000000',
  },
}
SCSS
$custom: #24073d;
$custom-light: #624a73;
$custom-dark: #000000;
JSON
{
  "hex": "#24073d",
  "rgb": {
    "r": 36,
    "g": 7,
    "b": 61
  },
  "hsl": {
    "h": 272.222,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21734,
    "c": 0.0961,
    "h": 303.6
  },
  "luminance": 0.00864
}

Semantic roles & 50–950 ramp

primary
#24073D
secondary
#4D7C23
accent
#F6328D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #24073D

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

Preview Lab → · Contrast checker → · Palette generator →

#24073D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva