#24113B#24113B

#24113B is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.1% C 0.078 H 301.3°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#24113B
RGBrgb(36, 17, 59)
HSLhsl(267, 55%, 15%)
HSVhsv(267, 71%, 23%)
CMYKcmyk(39%, 71.2%, 0%, 76.9%)
CIE-LABlab(9.73, 20.28, -23.51)
CIE-LCHlch(9.73, 31.05, 310.78°)
OKLaboklab(23.06% 0.0406 -0.0667)
OKLCHoklch(23.06% 0.078 301.3)
XYZxyz(1.7172, 1.0917, 4.2571)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24113B #283B11
analogous
#11133B #24113B #39113B
triadic
#24113B #3B2411 #113B24
tetradic
#24113B #3B1113 #283B11 #113B39
square
#24113B #3B1113 #283B11 #113B39
split-complementary
#24113B #3B3911 #133B11
monochromatic
#0E0718 #0E0718 #24113B #411F6B #5E2C9A

Accessibility & contrast

On white

17.24
#24113B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24113B
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24113B#FFFFFF#000000##FFFFFF
##24113B1.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3C
Deuteranopia (green-blind)
#041B3A
Tritanopia (blue-blind)
#1F1A24
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #24113b;
/* rgb */ color: rgb(36, 17, 59);
/* oklch */ color: oklch(23.1% 0.078 301.3);
Tailwind
colors: {
  custom: {
    50: '#615071',
    500: '#24113b',
    950: '#000000',
  },
}
SCSS
$custom: #24113b;
$custom-light: #615071;
$custom-dark: #000000;
JSON
{
  "hex": "#24113b",
  "rgb": {
    "r": 36,
    "g": 17,
    "b": 59
  },
  "hsl": {
    "h": 267.143,
    "s": 55.263,
    "l": 14.902
  },
  "oklch": {
    "l": 0.23056,
    "c": 0.07811,
    "h": 301.3
  },
  "luminance": 0.01092
}

Semantic roles & 50–950 ramp

primary
#24113B
secondary
#577433
accent
#DF499B
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050207
muted
#79787A

Preview Lab

Preview with #24113B

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

Preview Lab → · Contrast checker → · Palette generator →

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