#24134E#24134E

#24134E is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.1% C 0.102 H 290.3°. Best body text is #FFFFFF at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#24134E
RGBrgb(36, 19, 78)
HSLhsl(257, 61%, 19%)
HSVhsv(257, 76%, 31%)
CMYKcmyk(53.8%, 75.6%, 0%, 69.4%)
CIE-LABlab(11.90, 25.11, -33.34)
CIE-LCHlch(11.90, 41.74, 306.99°)
OKLaboklab(25.15% 0.0355 -0.0956)
OKLCHoklch(25.15% 0.102 290.3)
XYZxyz(2.3352, 1.3908, 7.3517)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24134E #3D4E13
analogous
#13204E #24134E #42134E
triadic
#24134E #4E2413 #134E24
tetradic
#24134E #4E1320 #3D4E13 #134E42
square
#24134E #4E1320 #3D4E13 #134E42
split-complementary
#24134E #4E4213 #204E13
monochromatic
#0B0619 #0D071D #24134E #3B1F7F #512BB0

Accessibility & contrast

On white

16.43
#24134E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#24134E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24134E
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24134E#FFFFFF#000000##FFFFFF
##24134E1.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002050
Deuteranopia (green-blind)
#001E4D
Tritanopia (blue-blind)
#16222E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #24134e;
/* rgb */ color: rgb(36, 19, 78);
/* oklch */ color: oklch(25.1% 0.102 290.3);
Tailwind
colors: {
  custom: {
    50: '#645280',
    500: '#24134e',
    950: '#000000',
  },
}
SCSS
$custom: #24134e;
$custom-light: #645280;
$custom-dark: #000000;
JSON
{
  "hex": "#24134e",
  "rgb": {
    "r": 36,
    "g": 19,
    "b": 78
  },
  "hsl": {
    "h": 257.288,
    "s": 60.825,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25146,
    "c": 0.10198,
    "h": 290.3
  },
  "luminance": 0.01391
}

Semantic roles & 50–950 ramp

primary
#24134E
secondary
#6F8736
accent
#E444B6
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #24134E

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

Preview Lab → · Contrast checker → · Palette generator →

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