#24144E#24144E

#24144E is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.3% C 0.101 H 290.0°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#24144E
RGBrgb(36, 20, 78)
HSLhsl(257, 59%, 19%)
HSVhsv(257, 74%, 31%)
CMYKcmyk(53.8%, 74.4%, 0%, 69.4%)
CIE-LABlab(12.13, 24.48, -32.97)
CIE-LCHlch(12.13, 41.07, 306.60°)
OKLaboklab(25.31% 0.0343 -0.0945)
OKLCHoklch(25.31% 0.101 290)
XYZxyz(2.3525, 1.4253, 7.3574)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24144E #3E4E14
analogous
#14214E #24144E #41144E
triadic
#24144E #4E2414 #144E24
tetradic
#24144E #4E1421 #3E4E14 #144E41
square
#24144E #4E1421 #3E4E14 #144E41
split-complementary
#24144E #4E4114 #214E14
monochromatic
#0B0618 #0E081D #24144E #3A207F #512DAF

Accessibility & contrast

On white

16.34
#24144E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#24144E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24144E
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24144E#FFFFFF#000000##FFFFFF
##24144E1.0016.341.2916.34
#FFFFFF16.341.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002150
Deuteranopia (green-blind)
#001E4D
Tritanopia (blue-blind)
#16222F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #24144e;
/* rgb */ color: rgb(36, 20, 78);
/* oklch */ color: oklch(25.3% 0.101 290.0);
Tailwind
colors: {
  custom: {
    50: '#645380',
    500: '#24144e',
    950: '#000000',
  },
}
SCSS
$custom: #24144e;
$custom-light: #645380;
$custom-dark: #000000;
JSON
{
  "hex": "#24144e",
  "rgb": {
    "r": 36,
    "g": 20,
    "b": 78
  },
  "hsl": {
    "h": 256.552,
    "s": 59.184,
    "l": 19.216
  },
  "oklch": {
    "l": 0.2531,
    "c": 0.10056,
    "h": 290
  },
  "luminance": 0.01425
}

Semantic roles & 50–950 ramp

primary
#24144E
secondary
#718638
accent
#E245B7
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #24144E

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

Preview Lab → · Contrast checker → · Palette generator →

#24144E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva