#24106D#24106D

#24106D is a dark, vivid violet. Relative luminance 0.018; OKLCH L 28.1% C 0.146 H 281.4°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#24106D
RGBrgb(36, 16, 109)
HSLhsl(253, 74%, 25%)
HSVhsv(253, 85%, 43%)
CMYKcmyk(67%, 85.3%, 0%, 57.3%)
CIE-LABlab(14.68, 36.80, -49.54)
CIE-LCHlch(14.68, 61.72, 306.61°)
OKLaboklab(28.11% 0.0288 -0.143)
OKLCHoklch(28.11% 0.146 281.4)
XYZxyz(3.6723, 1.8495, 14.6285)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24106D #596D10
analogous
#102B6D #24106D #53106D
triadic
#24106D #6D2410 #106D24
tetradic
#24106D #6D102B #596D10 #106D53
square
#24106D #6D102B #596D10 #106D53
split-complementary
#24106D #6D5310 #2B6D10
monochromatic
#09041B #120838 #24106D #3618A2 #4720D8

Accessibility & contrast

On white

15.33
#24106D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#24106D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24106D
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24106D#FFFFFF#000000##FFFFFF
##24106D1.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002870
Deuteranopia (green-blind)
#00226B
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #24106d;
/* rgb */ color: rgb(36, 16, 109);
/* oklch */ color: oklch(28.1% 0.146 281.4);
Tailwind
colors: {
  custom: {
    50: '#6a5298',
    500: '#24106d',
    950: '#000000',
  },
}
SCSS
$custom: #24106d;
$custom-light: #6a5298;
$custom-dark: #000000;
JSON
{
  "hex": "#24106d",
  "rgb": {
    "r": 36,
    "g": 16,
    "b": 109
  },
  "hsl": {
    "h": 252.903,
    "s": 74.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28111,
    "c": 0.14583,
    "h": 281.4
  },
  "luminance": 0.0185
}

Semantic roles & 50–950 ramp

primary
#24106D
secondary
#8DA534
accent
#F137C9
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #24106D

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

Preview Lab → · Contrast checker → · Palette generator →

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