#24153B#24153B

#24153B is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.8% C 0.071 H 299.2°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#24153B
RGBrgb(36, 21, 59)
HSLhsl(264, 48%, 16%)
HSVhsv(264, 64%, 23%)
CMYKcmyk(39%, 64.4%, 0%, 76.9%)
CIE-LABlab(10.76, 17.57, -21.87)
CIE-LCHlch(10.76, 28.06, 308.79°)
OKLaboklab(23.8% 0.0345 -0.0619)
OKLCHoklch(23.8% 0.071 299.2)
XYZxyz(1.7849, 1.2271, 4.2796)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24153B #2C3B15
analogous
#15193B #24153B #37153B
triadic
#24153B #3B2415 #153B24
tetradic
#24153B #3B1519 #2C3B15 #153B37
square
#24153B #3B1519 #2C3B15 #153B37
split-complementary
#24153B #3B3715 #193B15
monochromatic
#0E0817 #0E0817 #24153B #402568 #5B3595

Accessibility & contrast

On white

16.86
#24153B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#24153B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24153B
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24153B#FFFFFF#000000##FFFFFF
##24153B1.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051D3C
Deuteranopia (green-blind)
#0A1D3A
Tritanopia (blue-blind)
#1F1D25
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #24153b;
/* rgb */ color: rgb(36, 21, 59);
/* oklch */ color: oklch(23.8% 0.071 299.2);
Tailwind
colors: {
  custom: {
    50: '#605371',
    500: '#24153b',
    950: '#000000',
  },
}
SCSS
$custom: #24153b;
$custom-light: #605371;
$custom-dark: #000000;
JSON
{
  "hex": "#24153b",
  "rgb": {
    "r": 36,
    "g": 21,
    "b": 59
  },
  "hsl": {
    "h": 263.684,
    "s": 47.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23804,
    "c": 0.07088,
    "h": 299.2
  },
  "luminance": 0.01227
}

Semantic roles & 50–950 ramp

primary
#24153B
secondary
#5C7239
accent
#D751A2
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050207
muted
#79787A

Preview Lab

Preview with #24153B

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

Preview Lab → · Contrast checker → · Palette generator →

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