#24136A#24136A

#24136A is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.1% C 0.139 H 281.6°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#24136A
RGBrgb(36, 19, 106)
HSLhsl(252, 70%, 25%)
HSVhsv(252, 82%, 42%)
CMYKcmyk(66%, 82.1%, 0%, 58.4%)
CIE-LABlab(14.85, 34.33, -47.29)
CIE-LCHlch(14.85, 58.44, 305.98°)
OKLaboklab(28.13% 0.028 -0.1364)
OKLCHoklch(28.13% 0.139 281.6)
XYZxyz(3.5611, 1.8812, 13.8083)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24136A #596A13
analogous
#132E6A #24136A #50136A
triadic
#24136A #6A2413 #136A24
tetradic
#24136A #6A132E #596A13 #136A50
square
#24136A #6A132E #596A13 #136A50
split-complementary
#24136A #6A5013 #2E6A13
monochromatic
#09051A #120A36 #24136A #361C9E #4726D2

Accessibility & contrast

On white

15.26
#24136A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#24136A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24136A
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24136A#FFFFFF#000000##FFFFFF
##24136A1.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286C
Deuteranopia (green-blind)
#002268
Tritanopia (blue-blind)
#002D3E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #24136a;
/* rgb */ color: rgb(36, 19, 106);
/* oklch */ color: oklch(28.1% 0.139 281.6);
Tailwind
colors: {
  custom: {
    50: '#6a5496',
    500: '#24136a',
    950: '#000000',
  },
}
SCSS
$custom: #24136a;
$custom-light: #6a5496;
$custom-dark: #000000;
JSON
{
  "hex": "#24136a",
  "rgb": {
    "r": 36,
    "g": 19,
    "b": 106
  },
  "hsl": {
    "h": 251.724,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28129,
    "c": 0.13929,
    "h": 281.6
  },
  "luminance": 0.01881
}

Semantic roles & 50–950 ramp

primary
#24136A
secondary
#8DA138
accent
#EC3BCA
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #24136A

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

Preview Lab → · Contrast checker → · Palette generator →

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