#24073C#24073C

#24073C is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.6% C 0.095 H 304.3°. Best body text is #FFFFFF at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#24073C
RGBrgb(36, 7, 60)
HSLhsl(273, 79%, 13%)
HSVhsv(273, 88%, 24%)
CMYKcmyk(40%, 88.3%, 0%, 76.5%)
CIE-LABlab(7.71, 26.46, -27.51)
CIE-LCHlch(7.71, 38.17, 313.88°)
OKLaboklab(21.64% 0.0535 -0.0784)
OKLCHoklch(21.64% 0.095 304.3)
XYZxyz(1.6190, 0.8533, 4.3535)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24073C #1F3C07
analogous
#09073C #24073C #3C0739
triadic
#24073C #3C2407 #073C24
tetradic
#24073C #3C0907 #1F3C07 #07393C
square
#24073C #3C0907 #1F3C07 #07393C
split-complementary
#24073C #393C07 #073C09
monochromatic
#10031B #10031B #24073C #450D73 #6614AA

Accessibility & contrast

On white

17.94
#24073C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24073C
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24073C#FFFFFF#000000##FFFFFF
##24073C1.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163D
Deuteranopia (green-blind)
#00173B
Tritanopia (blue-blind)
#1F1521
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #24073c;
/* rgb */ color: rgb(36, 7, 60);
/* oklch */ color: oklch(21.6% 0.095 304.3);
Tailwind
colors: {
  custom: {
    50: '#624a72',
    500: '#24073c',
    950: '#000000',
  },
}
SCSS
$custom: #24073c;
$custom-light: #624a72;
$custom-dark: #000000;
JSON
{
  "hex": "#24073c",
  "rgb": {
    "r": 36,
    "g": 7,
    "b": 60
  },
  "hsl": {
    "h": 272.83,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.21635,
    "c": 0.09492,
    "h": 304.3
  },
  "luminance": 0.00853
}

Semantic roles & 50–950 ramp

primary
#24073C
secondary
#4B7B23
accent
#F6328B
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050108
muted
#7A777B

Preview Lab

Preview with #24073C

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

Preview Lab → · Contrast checker → · Palette generator →

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