#24105E#24105E

#24105E is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.4% C 0.127 H 285.5°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#24105E
RGBrgb(36, 16, 94)
HSLhsl(255, 71%, 22%)
HSVhsv(255, 83%, 37%)
CMYKcmyk(61.7%, 83%, 0%, 63.1%)
CIE-LABlab(12.94, 32.06, -42.48)
CIE-LCHlch(12.94, 53.22, 307.04°)
OKLaboklab(26.39% 0.0339 -0.1224)
OKLCHoklch(26.39% 0.127 285.5)
XYZxyz(2.9326, 1.5536, 10.7329)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24105E #4A5E10
analogous
#10235E #24105E #4B105E
triadic
#24105E #5E2410 #105E24
tetradic
#24105E #5E1023 #4A5E10 #105E4B
square
#24105E #5E1023 #4A5E10 #105E4B
split-complementary
#24105E #5E4B10 #235E10
monochromatic
#0A041A #10072A #24105E #381992 #4C22C7

Accessibility & contrast

On white

16.02
#24105E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24105E
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24105E#FFFFFF#000000##FFFFFF
##24105E1.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002360
Deuteranopia (green-blind)
#001F5D
Tritanopia (blue-blind)
#062737
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #24105e;
/* rgb */ color: rgb(36, 16, 94);
/* oklch */ color: oklch(26.4% 0.127 285.5);
Tailwind
colors: {
  custom: {
    50: '#67518d',
    500: '#24105e',
    950: '#000000',
  },
}
SCSS
$custom: #24105e;
$custom-light: #67518d;
$custom-dark: #000000;
JSON
{
  "hex": "#24105e",
  "rgb": {
    "r": 36,
    "g": 16,
    "b": 94
  },
  "hsl": {
    "h": 255.385,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26394,
    "c": 0.12699,
    "h": 285.5
  },
  "luminance": 0.01554
}

Semantic roles & 50–950 ramp

primary
#24105E
secondary
#7D9733
accent
#EE3AC0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #24105E

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

Preview Lab → · Contrast checker → · Palette generator →

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