#24133C#24133C

#24133C is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.5% C 0.076 H 299.6°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#24133C
RGBrgb(36, 19, 60)
HSLhsl(265, 52%, 15%)
HSVhsv(265, 68%, 24%)
CMYKcmyk(40%, 68.3%, 0%, 76.5%)
CIE-LABlab(10.31, 19.26, -23.30)
CIE-LCHlch(10.31, 30.23, 309.58°)
OKLaboklab(23.5% 0.0376 -0.0661)
OKLCHoklch(23.5% 0.076 299.6)
XYZxyz(1.7758, 1.1670, 4.4058)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24133C #2B3C13
analogous
#13163C #24133C #38133C
triadic
#24133C #3C2413 #133C24
tetradic
#24133C #3C1316 #2B3C13 #133C38
square
#24133C #3C1316 #2B3C13 #133C38
split-complementary
#24133C #3C3813 #163C13
monochromatic
#0E0717 #0E0717 #24133C #40226A #5C3099

Accessibility & contrast

On white

17.03
#24133C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#24133C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24133C
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24133C#FFFFFF#000000##FFFFFF
##24133C1.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011C3D
Deuteranopia (green-blind)
#061C3B
Tritanopia (blue-blind)
#1F1C25
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #24133c;
/* rgb */ color: rgb(36, 19, 60);
/* oklch */ color: oklch(23.5% 0.076 299.6);
Tailwind
colors: {
  custom: {
    50: '#615172',
    500: '#24133c',
    950: '#000000',
  },
}
SCSS
$custom: #24133c;
$custom-light: #615172;
$custom-dark: #000000;
JSON
{
  "hex": "#24133c",
  "rgb": {
    "r": 36,
    "g": 19,
    "b": 60
  },
  "hsl": {
    "h": 264.878,
    "s": 51.899,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23503,
    "c": 0.07604,
    "h": 299.6
  },
  "luminance": 0.01167
}

Semantic roles & 50–950 ramp

primary
#24133C
secondary
#5B7436
accent
#DB4CA0
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050208
muted
#79787B

Preview Lab

Preview with #24133C

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

Preview Lab → · Contrast checker → · Palette generator →

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