#24105D#24105D

#24105D is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.3% C 0.126 H 285.8°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#24105D
RGBrgb(36, 16, 93)
HSLhsl(256, 71%, 21%)
HSVhsv(256, 83%, 36%)
CMYKcmyk(61.3%, 82.8%, 0%, 63.5%)
CIE-LABlab(12.83, 31.74, -42.00)
CIE-LCHlch(12.83, 52.64, 307.08°)
OKLaboklab(26.28% 0.0343 -0.1209)
OKLCHoklch(26.28% 0.126 285.8)
XYZxyz(2.8880, 1.5358, 10.4981)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24105D #495D10
analogous
#10235D #24105D #4B105D
triadic
#24105D #5D2410 #105D24
tetradic
#24105D #5D1023 #495D10 #105D4B
square
#24105D #5D1023 #495D10 #105D4B
split-complementary
#24105D #5D4B10 #235D10
monochromatic
#0A041A #100729 #24105D #381991 #4C22C5

Accessibility & contrast

On white

16.06
#24105D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#24105D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24105D
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24105D#FFFFFF#000000##FFFFFF
##24105D1.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235F
Deuteranopia (green-blind)
#001F5C
Tritanopia (blue-blind)
#072636
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #24105d;
/* rgb */ color: rgb(36, 16, 93);
/* oklch */ color: oklch(26.3% 0.126 285.8);
Tailwind
colors: {
  custom: {
    50: '#67518c',
    500: '#24105d',
    950: '#000000',
  },
}
SCSS
$custom: #24105d;
$custom-light: #67518c;
$custom-dark: #000000;
JSON
{
  "hex": "#24105d",
  "rgb": {
    "r": 36,
    "g": 16,
    "b": 93
  },
  "hsl": {
    "h": 255.584,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26283,
    "c": 0.12571,
    "h": 285.8
  },
  "luminance": 0.01536
}

Semantic roles & 50–950 ramp

primary
#24105D
secondary
#7C9633
accent
#ED3ABF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #24105D

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

Preview Lab → · Contrast checker → · Palette generator →

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