#24136B#24136B

#24136B is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.141 H 281.4°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#24136B
RGBrgb(36, 19, 107)
HSLhsl(252, 70%, 25%)
HSVhsv(252, 82%, 42%)
CMYKcmyk(66.4%, 82.2%, 0%, 58%)
CIE-LABlab(14.96, 34.65, -47.76)
CIE-LCHlch(14.96, 59.01, 305.97°)
OKLaboklab(28.24% 0.0277 -0.1378)
OKLCHoklch(28.24% 0.141 281.4)
XYZxyz(3.6134, 1.9021, 14.0838)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24136B #5A6B13
analogous
#132E6B #24136B #50136B
triadic
#24136B #6B2413 #136B24
tetradic
#24136B #6B132E #5A6B13 #136B50
square
#24136B #6B132E #5A6B13 #136B50
split-complementary
#24136B #6B5013 #2E6B13
monochromatic
#09051A #130A37 #24136B #351C9F #4725D3

Accessibility & contrast

On white

15.21
#24136B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24136B
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24136B#FFFFFF#000000##FFFFFF
##24136B1.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296D
Deuteranopia (green-blind)
#002269
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #24136b;
/* rgb */ color: rgb(36, 19, 107);
/* oklch */ color: oklch(28.2% 0.141 281.4);
Tailwind
colors: {
  custom: {
    50: '#6a5496',
    500: '#24136b',
    950: '#000000',
  },
}
SCSS
$custom: #24136b;
$custom-light: #6a5496;
$custom-dark: #000000;
JSON
{
  "hex": "#24136b",
  "rgb": {
    "r": 36,
    "g": 19,
    "b": 107
  },
  "hsl": {
    "h": 251.591,
    "s": 69.841,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28242,
    "c": 0.14056,
    "h": 281.4
  },
  "luminance": 0.01902
}

Semantic roles & 50–950 ramp

primary
#24136B
secondary
#8EA238
accent
#ED3BCA
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #24136B

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

Preview Lab → · Contrast checker → · Palette generator →

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