#24145D#24145D

#24145D is a dark, vivid violet. Relative luminance 0.017; OKLCH L 26.8% C 0.121 H 284.8°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#24145D
RGBrgb(36, 20, 93)
HSLhsl(253, 65%, 22%)
HSVhsv(253, 78%, 36%)
CMYKcmyk(61.3%, 78.5%, 0%, 63.5%)
CIE-LABlab(13.62, 29.50, -40.70)
CIE-LCHlch(13.62, 50.26, 305.93°)
OKLaboklab(26.84% 0.031 -0.1172)
OKLCHoklch(26.84% 0.121 284.8)
XYZxyz(2.9529, 1.6655, 10.5197)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24145D #4D5D14
analogous
#14285D #24145D #49145D
triadic
#24145D #5D2414 #145D24
tetradic
#24145D #5D1428 #4D5D14 #145D49
square
#24145D #5D1428 #4D5D14 #145D49
split-complementary
#24145D #5D4914 #285D14
monochromatic
#0A0519 #11092B #24145D #371F8F #4B2AC2

Accessibility & contrast

On white

15.75
#24145D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#24145D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24145D
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24145D#FFFFFF#000000##FFFFFF
##24145D1.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)
#00255F
Deuteranopia (green-blind)
#00215C
Tritanopia (blue-blind)
#072837
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #24145d;
/* rgb */ color: rgb(36, 20, 93);
/* oklch */ color: oklch(26.8% 0.121 284.8);
Tailwind
colors: {
  custom: {
    50: '#67538c',
    500: '#24145d',
    950: '#000000',
  },
}
SCSS
$custom: #24145d;
$custom-light: #67538c;
$custom-dark: #000000;
JSON
{
  "hex": "#24145d",
  "rgb": {
    "r": 36,
    "g": 20,
    "b": 93
  },
  "hsl": {
    "h": 253.151,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26838,
    "c": 0.12121,
    "h": 284.8
  },
  "luminance": 0.01666
}

Semantic roles & 50–950 ramp

primary
#24145D
secondary
#809538
accent
#E840C3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #24145D

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

Preview Lab → · Contrast checker → · Palette generator →

#24145D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva