#24144D#24144D

#24144D is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.2% C 0.099 H 290.4°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#24144D
RGBrgb(36, 20, 77)
HSLhsl(257, 59%, 19%)
HSVhsv(257, 74%, 30%)
CMYKcmyk(53.2%, 74%, 0%, 69.8%)
CIE-LABlab(12.03, 24.15, -32.43)
CIE-LCHlch(12.03, 40.44, 306.67°)
OKLaboklab(25.21% 0.0345 -0.0929)
OKLCHoklch(25.21% 0.099 290.4)
XYZxyz(2.3169, 1.4111, 7.1700)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24144D #3D4D14
analogous
#14214D #24144D #41144D
triadic
#24144D #4D2414 #144D24
tetradic
#24144D #4D1421 #3D4D14 #144D41
square
#24144D #4D1421 #3D4D14 #144D41
split-complementary
#24144D #4D4114 #214D14
monochromatic
#0B0618 #0D071C #24144D #3B217E #512DAE

Accessibility & contrast

On white

16.38
#24144D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#24144D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24144D
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24144D#FFFFFF#000000##FFFFFF
##24144D1.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214F
Deuteranopia (green-blind)
#001E4C
Tritanopia (blue-blind)
#17222E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #24144d;
/* rgb */ color: rgb(36, 20, 77);
/* oklch */ color: oklch(25.2% 0.099 290.4);
Tailwind
colors: {
  custom: {
    50: '#63537f',
    500: '#24144d',
    950: '#000000',
  },
}
SCSS
$custom: #24144d;
$custom-light: #63537f;
$custom-dark: #000000;
JSON
{
  "hex": "#24144d",
  "rgb": {
    "r": 36,
    "g": 20,
    "b": 77
  },
  "hsl": {
    "h": 256.842,
    "s": 58.763,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25214,
    "c": 0.09915,
    "h": 290.4
  },
  "luminance": 0.01411
}

Semantic roles & 50–950 ramp

primary
#24144D
secondary
#6F8538
accent
#E246B6
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #24144D

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

Preview Lab → · Contrast checker → · Palette generator →

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