#24135F#24135F

#24135F is a dark, vivid violet. Relative luminance 0.017; OKLCH L 26.9% C 0.125 H 284.5°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#24135F
RGBrgb(36, 19, 95)
HSLhsl(253, 67%, 22%)
HSVhsv(253, 80%, 37%)
CMYKcmyk(62.1%, 80%, 0%, 62.7%)
CIE-LABlab(13.63, 30.74, -42.02)
CIE-LCHlch(13.63, 52.06, 306.18°)
OKLaboklab(26.91% 0.0313 -0.121)
OKLCHoklch(26.91% 0.125 284.5)
XYZxyz(3.0254, 1.6668, 10.9866)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24135F #4E5F13
analogous
#13285F #24135F #4A135F
triadic
#24135F #5F2413 #135F24
tetradic
#24135F #5F1328 #4E5F13 #135F4A
square
#24135F #5F1328 #4E5F13 #135F4A
split-complementary
#24135F #5F4A13 #285F13
monochromatic
#0A051A #11092C #24135F #371D92 #4B27C5

Accessibility & contrast

On white

15.75
#24135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#24135F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24135F
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24135F#FFFFFF#000000##FFFFFF
##24135F1.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002561
Deuteranopia (green-blind)
#00205E
Tritanopia (blue-blind)
#042838
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #24135f;
/* rgb */ color: rgb(36, 19, 95);
/* oklch */ color: oklch(26.9% 0.125 284.5);
Tailwind
colors: {
  custom: {
    50: '#67538d',
    500: '#24135f',
    950: '#000000',
  },
}
SCSS
$custom: #24135f;
$custom-light: #67538d;
$custom-dark: #000000;
JSON
{
  "hex": "#24135f",
  "rgb": {
    "r": 36,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 253.421,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26909,
    "c": 0.12503,
    "h": 284.5
  },
  "luminance": 0.01667
}

Semantic roles & 50–950 ramp

primary
#24135F
secondary
#819737
accent
#EA3EC3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #24135F

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

Preview Lab → · Contrast checker → · Palette generator →

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