#24155A#24155A

#24155A is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.7% C 0.116 H 285.4°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#24155A
RGBrgb(36, 21, 90)
HSLhsl(253, 62%, 22%)
HSVhsv(253, 77%, 35%)
CMYKcmyk(60%, 76.7%, 0%, 64.7%)
CIE-LABlab(13.53, 27.89, -38.84)
CIE-LCHlch(13.53, 47.82, 305.68°)
OKLaboklab(26.68% 0.0308 -0.1117)
OKLCHoklch(26.68% 0.116 285.4)
XYZxyz(2.8406, 1.6494, 9.8396)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24155A #4B5A15
analogous
#15295A #24155A #47155A
triadic
#24155A #5A2415 #155A24
tetradic
#24155A #5A1529 #4B5A15 #155A47
square
#24155A #5A1529 #4B5A15 #155A47
split-complementary
#24155A #5A4715 #295A15
monochromatic
#0A0619 #100928 #24155A #38218C #4C2CBD

Accessibility & contrast

On white

15.79
#24155A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#24155A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24155A
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24155A#FFFFFF#000000##FFFFFF
##24155A1.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245C
Deuteranopia (green-blind)
#002159
Tritanopia (blue-blind)
#0B2736
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #24155a;
/* rgb */ color: rgb(36, 21, 90);
/* oklch */ color: oklch(26.7% 0.116 285.4);
Tailwind
colors: {
  custom: {
    50: '#665489',
    500: '#24155a',
    950: '#000000',
  },
}
SCSS
$custom: #24155a;
$custom-light: #665489;
$custom-dark: #000000;
JSON
{
  "hex": "#24155a",
  "rgb": {
    "r": 36,
    "g": 21,
    "b": 90
  },
  "hsl": {
    "h": 253.043,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26676,
    "c": 0.11592,
    "h": 285.4
  },
  "luminance": 0.0165
}

Semantic roles & 50–950 ramp

primary
#24155A
secondary
#7E9239
accent
#E543C2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #24155A

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

Preview Lab → · Contrast checker → · Palette generator →

#24155A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva