#24115F#24115F

#24115F is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.6% C 0.127 H 285.0°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#24115F
RGBrgb(36, 17, 95)
HSLhsl(255, 70%, 22%)
HSVhsv(255, 82%, 37%)
CMYKcmyk(62.1%, 82.1%, 0%, 62.7%)
CIE-LABlab(13.24, 31.85, -42.66)
CIE-LCHlch(13.24, 53.24, 306.74°)
OKLaboklab(26.64% 0.0329 -0.1229)
OKLCHoklch(26.64% 0.127 285)
XYZxyz(2.9929, 1.6020, 10.9758)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24115F #4C5F11
analogous
#11255F #24115F #4B115F
triadic
#24115F #5F2411 #115F24
tetradic
#24115F #5F1125 #4C5F11 #115F4B
square
#24115F #5F1125 #4C5F11 #115F4B
split-complementary
#24115F #5F4B11 #255F11
monochromatic
#0A051A #10082B #24115F #381A93 #4B24C7

Accessibility & contrast

On white

15.90
#24115F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#24115F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24115F
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24115F#FFFFFF#000000##FFFFFF
##24115F1.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002461
Deuteranopia (green-blind)
#00205E
Tritanopia (blue-blind)
#042737
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #24115f;
/* rgb */ color: rgb(36, 17, 95);
/* oklch */ color: oklch(26.6% 0.127 285.0);
Tailwind
colors: {
  custom: {
    50: '#67528d',
    500: '#24115f',
    950: '#000000',
  },
}
SCSS
$custom: #24115f;
$custom-light: #67528d;
$custom-dark: #000000;
JSON
{
  "hex": "#24115f",
  "rgb": {
    "r": 36,
    "g": 17,
    "b": 95
  },
  "hsl": {
    "h": 254.615,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.26635,
    "c": 0.12723,
    "h": 285
  },
  "luminance": 0.01602
}

Semantic roles & 50–950 ramp

primary
#24115F
secondary
#7F9834
accent
#EC3BC1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #24115F

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

Preview Lab → · Contrast checker → · Palette generator →

#24115F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva