#24153C#24153C

#24153C is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.9% C 0.072 H 298.5°. Best body text is #FFFFFF at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#24153C
RGBrgb(36, 21, 60)
HSLhsl(263, 48%, 16%)
HSVhsv(263, 65%, 24%)
CMYKcmyk(40%, 65%, 0%, 76.5%)
CIE-LABlab(10.83, 17.89, -22.46)
CIE-LCHlch(10.83, 28.72, 308.54°)
OKLaboklab(23.88% 0.0346 -0.0636)
OKLCHoklch(23.88% 0.072 298.5)
XYZxyz(1.8111, 1.2376, 4.4176)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24153C #2D3C15
analogous
#15193C #24153C #37153C
triadic
#24153C #3C2415 #153C24
tetradic
#24153C #3C1519 #2D3C15 #153C37
square
#24153C #3C1519 #2D3C15 #153C37
split-complementary
#24153C #3C3715 #193C15
monochromatic
#0E0817 #0E0817 #24153C #3F2569 #5A3597

Accessibility & contrast

On white

16.83
#24153C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24153C
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24153C#FFFFFF#000000##FFFFFF
##24153C1.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041D3D
Deuteranopia (green-blind)
#091D3B
Tritanopia (blue-blind)
#1F1D26
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #24153c;
/* rgb */ color: rgb(36, 21, 60);
/* oklch */ color: oklch(23.9% 0.072 298.5);
Tailwind
colors: {
  custom: {
    50: '#615372',
    500: '#24153c',
    950: '#000000',
  },
}
SCSS
$custom: #24153c;
$custom-light: #615372;
$custom-dark: #000000;
JSON
{
  "hex": "#24153c",
  "rgb": {
    "r": 36,
    "g": 21,
    "b": 60
  },
  "hsl": {
    "h": 263.077,
    "s": 48.148,
    "l": 15.882
  },
  "oklch": {
    "l": 0.23884,
    "c": 0.07241,
    "h": 298.5
  },
  "luminance": 0.01238
}

Semantic roles & 50–950 ramp

primary
#24153C
secondary
#5D7439
accent
#D850A4
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050208
muted
#79787B

Preview Lab

Preview with #24153C

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

Preview Lab → · Contrast checker → · Palette generator →

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