#24113E#24113E

#24113E is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.082 H 299.3°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#24113E
RGBrgb(36, 17, 62)
HSLhsl(265, 57%, 15%)
HSVhsv(265, 73%, 24%)
CMYKcmyk(41.9%, 72.6%, 0%, 75.7%)
CIE-LABlab(9.98, 21.22, -25.25)
CIE-LCHlch(9.98, 32.98, 310.03°)
OKLaboklab(23.32% 0.0404 -0.0718)
OKLCHoklch(23.32% 0.082 299.3)
XYZxyz(1.7973, 1.1237, 4.6787)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24113E #2B3E11
analogous
#11143E #24113E #3A113E
triadic
#24113E #3E2411 #113E24
tetradic
#24113E #3E1114 #2B3E11 #113E3A
square
#24113E #3E1114 #2B3E11 #113E3A
split-complementary
#24113E #3E3A11 #143E11
monochromatic
#0E0718 #0E0718 #24113E #401E6E #5C2B9E

Accessibility & contrast

On white

17.15
#24113E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#24113E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24113E
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24113E#FFFFFF#000000##FFFFFF
##24113E1.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3F
Deuteranopia (green-blind)
#011B3D
Tritanopia (blue-blind)
#1E1B25
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #24113e;
/* rgb */ color: rgb(36, 17, 62);
/* oklch */ color: oklch(23.3% 0.082 299.3);
Tailwind
colors: {
  custom: {
    50: '#615074',
    500: '#24113e',
    950: '#000000',
  },
}
SCSS
$custom: #24113e;
$custom-light: #615074;
$custom-dark: #000000;
JSON
{
  "hex": "#24113e",
  "rgb": {
    "r": 36,
    "g": 17,
    "b": 62
  },
  "hsl": {
    "h": 265.333,
    "s": 56.962,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23316,
    "c": 0.08241,
    "h": 299.3
  },
  "luminance": 0.01124
}

Semantic roles & 50–950 ramp

primary
#24113E
secondary
#5B7733
accent
#E048A0
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #24113E

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

Preview Lab → · Contrast checker → · Palette generator →

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