#24133D#24133D

#24133D is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.6% C 0.078 H 299.0°. Best body text is #FFFFFF at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#24133D
RGBrgb(36, 19, 61)
HSLhsl(264, 53%, 16%)
HSVhsv(264, 69%, 24%)
CMYKcmyk(41%, 68.9%, 0%, 76.1%)
CIE-LABlab(10.39, 19.58, -23.88)
CIE-LCHlch(10.39, 30.88, 309.35°)
OKLaboklab(23.59% 0.0376 -0.0678)
OKLCHoklch(23.59% 0.078 299)
XYZxyz(1.8025, 1.1777, 4.5463)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24133D #2C3D13
analogous
#13173D #24133D #39133D
triadic
#24133D #3D2413 #133D24
tetradic
#24133D #3D1317 #2C3D13 #133D39
square
#24133D #3D1317 #2C3D13 #133D39
split-complementary
#24133D #3D3913 #173D13
monochromatic
#0E0717 #0E0717 #24133D #40226C #5B309A

Accessibility & contrast

On white

17.00
#24133D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#24133D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24133D
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24133D#FFFFFF#000000##FFFFFF
##24133D1.0017.001.2417.00
#FFFFFF17.001.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3E
Deuteranopia (green-blind)
#051C3C
Tritanopia (blue-blind)
#1E1C25
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #24133d;
/* rgb */ color: rgb(36, 19, 61);
/* oklch */ color: oklch(23.6% 0.078 299.0);
Tailwind
colors: {
  custom: {
    50: '#615173',
    500: '#24133d',
    950: '#000000',
  },
}
SCSS
$custom: #24133d;
$custom-light: #615173;
$custom-dark: #000000;
JSON
{
  "hex": "#24133d",
  "rgb": {
    "r": 36,
    "g": 19,
    "b": 61
  },
  "hsl": {
    "h": 264.286,
    "s": 52.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23587,
    "c": 0.07752,
    "h": 299
  },
  "luminance": 0.01178
}

Semantic roles & 50–950 ramp

primary
#24133D
secondary
#5C7536
accent
#DC4CA2
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #24133D

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

Preview Lab → · Contrast checker → · Palette generator →

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