#24134C#24134C

#24134C is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 25.0% C 0.099 H 291.2°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#24134C
RGBrgb(36, 19, 76)
HSLhsl(258, 60%, 19%)
HSVhsv(258, 75%, 30%)
CMYKcmyk(52.6%, 75%, 0%, 70.2%)
CIE-LABlab(11.71, 24.45, -32.27)
CIE-LCHlch(11.71, 40.49, 307.15°)
OKLaboklab(24.95% 0.0358 -0.0925)
OKLCHoklch(24.95% 0.099 291.2)
XYZxyz(2.2646, 1.3625, 6.9798)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24134C #3B4C13
analogous
#131E4C #24134C #40134C
triadic
#24134C #4C2413 #134C24
tetradic
#24134C #4C131E #3B4C13 #134C40
square
#24134C #4C131E #3B4C13 #134C40
split-complementary
#24134C #4C4013 #1E4C13
monochromatic
#0C0618 #0D071B #24134C #3B1F7D #522BAE

Accessibility & contrast

On white

16.50
#24134C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#24134C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24134C
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24134C#FFFFFF#000000##FFFFFF
##24134C1.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204E
Deuteranopia (green-blind)
#001E4B
Tritanopia (blue-blind)
#17212D
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #24134c;
/* rgb */ color: rgb(36, 19, 76);
/* oklch */ color: oklch(25.0% 0.099 291.2);
Tailwind
colors: {
  custom: {
    50: '#63527f',
    500: '#24134c',
    950: '#000000',
  },
}
SCSS
$custom: #24134c;
$custom-light: #63527f;
$custom-dark: #000000;
JSON
{
  "hex": "#24134c",
  "rgb": {
    "r": 36,
    "g": 19,
    "b": 76
  },
  "hsl": {
    "h": 257.895,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24951,
    "c": 0.09918,
    "h": 291.2
  },
  "luminance": 0.01363
}

Semantic roles & 50–950 ramp

primary
#24134C
secondary
#6D8536
accent
#E345B4
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #24134C

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

Preview Lab → · Contrast checker → · Palette generator →

#24134C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva