#24106A#24106A

#24106A is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.8% C 0.142 H 282.1°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#24106A
RGBrgb(36, 16, 106)
HSLhsl(253, 74%, 24%)
HSVhsv(253, 85%, 42%)
CMYKcmyk(66%, 84.9%, 0%, 58.4%)
CIE-LABlab(14.32, 35.87, -48.17)
CIE-LCHlch(14.32, 60.05, 306.67°)
OKLaboklab(27.76% 0.0299 -0.1389)
OKLCHoklch(27.76% 0.142 282.1)
XYZxyz(3.5136, 1.7860, 13.7925)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24106A #566A10
analogous
#10296A #24106A #51106A
triadic
#24106A #6A2410 #106A24
tetradic
#24106A #6A1029 #566A10 #106A51
square
#24106A #6A1029 #566A10 #106A51
split-complementary
#24106A #6A5110 #296A10
monochromatic
#09041B #120835 #24106A #36189F #4820D4

Accessibility & contrast

On white

15.47
#24106A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#24106A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24106A
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24106A#FFFFFF#000000##FFFFFF
##24106A1.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276C
Deuteranopia (green-blind)
#002168
Tritanopia (blue-blind)
#002C3E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #24106a;
/* rgb */ color: rgb(36, 16, 106);
/* oklch */ color: oklch(27.8% 0.142 282.1);
Tailwind
colors: {
  custom: {
    50: '#6a5296',
    500: '#24106a',
    950: '#000000',
  },
}
SCSS
$custom: #24106a;
$custom-light: #6a5296;
$custom-dark: #000000;
JSON
{
  "hex": "#24106a",
  "rgb": {
    "r": 36,
    "g": 16,
    "b": 106
  },
  "hsl": {
    "h": 253.333,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27761,
    "c": 0.14212,
    "h": 282.1
  },
  "luminance": 0.01786
}

Semantic roles & 50–950 ramp

primary
#24106A
secondary
#8AA234
accent
#F037C7
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #24106A

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

Preview Lab → · Contrast checker → · Palette generator →

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