#24146B#24146B

#24146B is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.140 H 281.2°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#24146B
RGBrgb(36, 20, 107)
HSLhsl(251, 69%, 25%)
HSVhsv(251, 81%, 42%)
CMYKcmyk(66.4%, 81.3%, 0%, 58%)
CIE-LABlab(15.15, 34.12, -47.45)
CIE-LCHlch(15.15, 58.45, 305.72°)
OKLaboklab(28.37% 0.0271 -0.1369)
OKLCHoklch(28.37% 0.14 281.2)
XYZxyz(3.6307, 1.9366, 14.0895)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24146B #5B6B14
analogous
#14306B #24146B #4F146B
triadic
#24146B #6B2414 #146B24
tetradic
#24146B #6B1430 #5B6B14 #146B4F
square
#24146B #6B1430 #5B6B14 #146B4F
split-complementary
#24146B #6B4F14 #306B14
monochromatic
#09051A #130A37 #24146B #351E9F #4727D2

Accessibility & contrast

On white

15.14
#24146B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#24146B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24146B
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24146B#FFFFFF#000000##FFFFFF
##24146B1.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24146b;
/* rgb */ color: rgb(36, 20, 107);
/* oklch */ color: oklch(28.4% 0.140 281.2);
Tailwind
colors: {
  custom: {
    50: '#6a5496',
    500: '#24146b',
    950: '#000000',
  },
}
SCSS
$custom: #24146b;
$custom-light: #6a5496;
$custom-dark: #000000;
JSON
{
  "hex": "#24146b",
  "rgb": {
    "r": 36,
    "g": 20,
    "b": 107
  },
  "hsl": {
    "h": 251.034,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28372,
    "c": 0.13957,
    "h": 281.2
  },
  "luminance": 0.01937
}

Semantic roles & 50–950 ramp

primary
#24146B
secondary
#8FA239
accent
#EB3CCB
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #24146B

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

Preview Lab → · Contrast checker → · Palette generator →

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