#24134F#24134F

#24134F is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.2% C 0.103 H 289.9°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#24134F
RGBrgb(36, 19, 79)
HSLhsl(257, 61%, 19%)
HSVhsv(257, 76%, 31%)
CMYKcmyk(54.4%, 75.9%, 0%, 69%)
CIE-LABlab(11.99, 25.44, -33.87)
CIE-LCHlch(11.99, 42.37, 306.91°)
OKLaboklab(25.25% 0.0352 -0.0972)
OKLCHoklch(25.25% 0.103 289.9)
XYZxyz(2.3713, 1.4052, 7.5419)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24134F #3E4F13
analogous
#13204F #24134F #42134F
triadic
#24134F #4F2413 #134F24
tetradic
#24134F #4F1320 #3E4F13 #134F42
square
#24134F #4F1320 #3E4F13 #134F42
split-complementary
#24134F #4F4213 #204F13
monochromatic
#0B0619 #0E071E #24134F #3A1F80 #512BB2

Accessibility & contrast

On white

16.39
#24134F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24134F
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24134F#FFFFFF#000000##FFFFFF
##24134F1.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002151
Deuteranopia (green-blind)
#001E4E
Tritanopia (blue-blind)
#15222F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #24134f;
/* rgb */ color: rgb(36, 19, 79);
/* oklch */ color: oklch(25.2% 0.103 289.9);
Tailwind
colors: {
  custom: {
    50: '#645281',
    500: '#24134f',
    950: '#000000',
  },
}
SCSS
$custom: #24134f;
$custom-light: #645281;
$custom-dark: #000000;
JSON
{
  "hex": "#24134f",
  "rgb": {
    "r": 36,
    "g": 19,
    "b": 79
  },
  "hsl": {
    "h": 257,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25245,
    "c": 0.10338,
    "h": 289.9
  },
  "luminance": 0.01405
}

Semantic roles & 50–950 ramp

primary
#24134F
secondary
#718836
accent
#E443B7
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #24134F

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

Preview Lab → · Contrast checker → · Palette generator →

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