#24115A#24115A

#24115A is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.1% C 0.121 H 286.6°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#24115A
RGBrgb(36, 17, 90)
HSLhsl(256, 68%, 21%)
HSVhsv(256, 81%, 35%)
CMYKcmyk(60%, 81.1%, 0%, 64.7%)
CIE-LABlab(12.70, 30.23, -40.20)
CIE-LCHlch(12.70, 50.30, 306.94°)
OKLaboklab(26.09% 0.0344 -0.1157)
OKLCHoklch(26.09% 0.121 286.6)
XYZxyz(2.7729, 1.5140, 9.8170)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24115A #475A11
analogous
#11225A #24115A #48115A
triadic
#24115A #5A2411 #115A24
tetradic
#24115A #5A1122 #475A11 #115A48
square
#24115A #5A1122 #475A11 #115A48
split-complementary
#24115A #5A4811 #225A11
monochromatic
#0A051A #0F0727 #24115A #391B8D #4D24C1

Accessibility & contrast

On white

16.12
#24115A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#24115A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24115A
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24115A#FFFFFF#000000##FFFFFF
##24115A1.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235C
Deuteranopia (green-blind)
#001F59
Tritanopia (blue-blind)
#0B2535
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #24115a;
/* rgb */ color: rgb(36, 17, 90);
/* oklch */ color: oklch(26.1% 0.121 286.6);
Tailwind
colors: {
  custom: {
    50: '#665189',
    500: '#24115a',
    950: '#000000',
  },
}
SCSS
$custom: #24115a;
$custom-light: #665189;
$custom-dark: #000000;
JSON
{
  "hex": "#24115a",
  "rgb": {
    "r": 36,
    "g": 17,
    "b": 90
  },
  "hsl": {
    "h": 255.616,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26088,
    "c": 0.12072,
    "h": 286.6
  },
  "luminance": 0.01514
}

Semantic roles & 50–950 ramp

primary
#24115A
secondary
#7A9334
accent
#EB3DBE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #24115A

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

Preview Lab → · Contrast checker → · Palette generator →

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