#24116F#24116F

#24116F is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.5% C 0.147 H 280.8°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#24116F
RGBrgb(36, 17, 111)
HSLhsl(252, 73%, 25%)
HSVhsv(252, 85%, 44%)
CMYKcmyk(67.6%, 84.7%, 0%, 56.5%)
CIE-LABlab(15.08, 36.95, -50.18)
CIE-LCHlch(15.08, 62.32, 306.36°)
OKLaboklab(28.46% 0.0276 -0.1448)
OKLCHoklch(28.46% 0.147 280.8)
XYZxyz(3.7963, 1.9234, 15.2070)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24116F #5C6F11
analogous
#112D6F #24116F #53116F
triadic
#24116F #6F2411 #116F24
tetradic
#24116F #6F112D #5C6F11 #116F53
square
#24116F #6F112D #5C6F11 #116F53
split-complementary
#24116F #6F5311 #2D6F11
monochromatic
#09041B #13093A #24116F #3519A4 #4621D9

Accessibility & contrast

On white

15.16
#24116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#24116F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24116F
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24116F#FFFFFF#000000##FFFFFF
##24116F1.0015.161.3815.16
#FFFFFF15.161.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002972
Deuteranopia (green-blind)
#00226D
Tritanopia (blue-blind)
#002E41
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #24116f;
/* rgb */ color: rgb(36, 17, 111);
/* oklch */ color: oklch(28.5% 0.147 280.8);
Tailwind
colors: {
  custom: {
    50: '#6b5399',
    500: '#24116f',
    950: '#000000',
  },
}
SCSS
$custom: #24116f;
$custom-light: #6b5399;
$custom-dark: #000000;
JSON
{
  "hex": "#24116f",
  "rgb": {
    "r": 36,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 252.128,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.2846,
    "c": 0.14743,
    "h": 280.8
  },
  "luminance": 0.01924
}

Semantic roles & 50–950 ramp

primary
#24116F
secondary
#90A635
accent
#F038CB
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #24116F

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

Preview Lab → · Contrast checker → · Palette generator →

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