#24146F#24146F

#24146F is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.145 H 280.3°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#24146F
RGBrgb(36, 20, 111)
HSLhsl(251, 69%, 26%)
HSVhsv(251, 82%, 44%)
CMYKcmyk(67.6%, 82%, 0%, 56.5%)
CIE-LABlab(15.61, 35.42, -49.31)
CIE-LCHlch(15.61, 60.71, 305.69°)
OKLaboklab(28.83% 0.0259 -0.1423)
OKLCHoklch(28.83% 0.145 280.3)
XYZxyz(3.8460, 2.0228, 15.2236)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24146F #5F6F14
analogous
#14326F #24146F #51146F
triadic
#24146F #6F2414 #146F24
tetradic
#24146F #6F1432 #5F6F14 #146F51
square
#24146F #6F1432 #5F6F14 #146F51
split-complementary
#24146F #6F5114 #326F14
monochromatic
#08051A #130B3B #24146F #351DA3 #4627D7

Accessibility & contrast

On white

14.95
#24146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#24146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24146F
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24146F#FFFFFF#000000##FFFFFF
##24146F1.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00236D
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #24146f;
/* rgb */ color: rgb(36, 20, 111);
/* oklch */ color: oklch(28.8% 0.145 280.3);
Tailwind
colors: {
  custom: {
    50: '#6b5499',
    500: '#24146f',
    950: '#000000',
  },
}
SCSS
$custom: #24146f;
$custom-light: #6b5499;
$custom-dark: #000000;
JSON
{
  "hex": "#24146f",
  "rgb": {
    "r": 36,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 250.549,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28826,
    "c": 0.14467,
    "h": 280.3
  },
  "luminance": 0.02023
}

Semantic roles & 50–950 ramp

primary
#24146F
secondary
#93A639
accent
#EC3CCD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #24146F

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

Preview Lab → · Contrast checker → · Palette generator →

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