#24105B#24105B

#24105B is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.1% C 0.123 H 286.5°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#24105B
RGBrgb(36, 16, 91)
HSLhsl(256, 70%, 21%)
HSVhsv(256, 82%, 36%)
CMYKcmyk(60.4%, 82.4%, 0%, 64.3%)
CIE-LABlab(12.61, 31.10, -41.02)
CIE-LCHlch(12.61, 51.47, 307.17°)
OKLaboklab(26.06% 0.0349 -0.1181)
OKLCHoklch(26.06% 0.123 286.5)
XYZxyz(2.8006, 1.5008, 10.0376)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24105B #475B10
analogous
#10215B #24105B #49105B
triadic
#24105B #5B2410 #105B24
tetradic
#24105B #5B1021 #475B10 #105B49
square
#24105B #5B1021 #475B10 #105B49
split-complementary
#24105B #5B4910 #215B10
monochromatic
#0A051A #0F0727 #24105B #39198F #4D22C3

Accessibility & contrast

On white

16.15
#24105B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#24105B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24105B
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24105B#FFFFFF#000000##FFFFFF
##24105B1.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235D
Deuteranopia (green-blind)
#001F5A
Tritanopia (blue-blind)
#0A2535
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #24105b;
/* rgb */ color: rgb(36, 16, 91);
/* oklch */ color: oklch(26.1% 0.123 286.5);
Tailwind
colors: {
  custom: {
    50: '#67518a',
    500: '#24105b',
    950: '#000000',
  },
}
SCSS
$custom: #24105b;
$custom-light: #67518a;
$custom-dark: #000000;
JSON
{
  "hex": "#24105b",
  "rgb": {
    "r": 36,
    "g": 16,
    "b": 91
  },
  "hsl": {
    "h": 256,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26063,
    "c": 0.12313,
    "h": 286.5
  },
  "luminance": 0.01501
}

Semantic roles & 50–950 ramp

primary
#24105B
secondary
#7A9433
accent
#ED3BBD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #24105B

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

Preview Lab → · Contrast checker → · Palette generator →

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