#24102F#24102F

#24102F is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 21.9% C 0.063 H 312.1°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#24102F
RGBrgb(36, 16, 47)
HSLhsl(279, 49%, 12%)
HSVhsv(279, 66%, 18%)
CMYKcmyk(23.4%, 66%, 0%, 81.6%)
CIE-LABlab(8.58, 17.38, -16.64)
CIE-LCHlch(8.58, 24.07, 316.25°)
OKLaboklab(21.92% 0.0421 -0.0466)
OKLCHoklch(21.92% 0.063 312.1)
XYZxyz(1.4258, 0.9509, 2.7972)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24102F #1B2F10
analogous
#15102F #24102F #2F102A
triadic
#24102F #2F2410 #102F24
tetradic
#24102F #2F1510 #1B2F10 #102A2F
square
#24102F #2F1510 #1B2F10 #102A2F
split-complementary
#24102F #2A2F10 #102F15
monochromatic
#110817 #110817 #24102F #47205D #6A2F8A

Accessibility & contrast

On white

17.64
#24102F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#24102F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24102F
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24102F#FFFFFF#000000##FFFFFF
##24102F1.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081830
Deuteranopia (green-blind)
#0E192E
Tritanopia (blue-blind)
#23151D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #24102f;
/* rgb */ color: rgb(36, 16, 47);
/* oklch */ color: oklch(21.9% 0.063 312.1);
Tailwind
colors: {
  custom: {
    50: '#604f67',
    500: '#24102f',
    950: '#000000',
  },
}
SCSS
$custom: #24102f;
$custom-light: #604f67;
$custom-dark: #000000;
JSON
{
  "hex": "#24102f",
  "rgb": {
    "r": 36,
    "g": 16,
    "b": 47
  },
  "hsl": {
    "h": 278.71,
    "s": 49.206,
    "l": 12.353
  },
  "oklch": {
    "l": 0.21918,
    "c": 0.06279,
    "h": 312.1
  },
  "luminance": 0.00951
}

Semantic roles & 50–950 ramp

primary
#24102F
secondary
#466833
accent
#D94F80
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050206
muted
#79787A

Preview Lab

Preview with #24102F

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

Preview Lab → · Contrast checker → · Palette generator →

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