#24134A#24134A

#24134A is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.096 H 292.1°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#24134A
RGBrgb(36, 19, 74)
HSLhsl(259, 59%, 18%)
HSVhsv(259, 74%, 29%)
CMYKcmyk(51.4%, 74.3%, 0%, 71%)
CIE-LABlab(11.52, 23.79, -31.19)
CIE-LCHlch(11.52, 39.23, 307.33°)
OKLaboklab(24.76% 0.0362 -0.0893)
OKLCHoklch(24.76% 0.096 292.1)
XYZxyz(2.1961, 1.3352, 6.6192)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24134A #394A13
analogous
#131D4A #24134A #3F134A
triadic
#24134A #4A2413 #134A24
tetradic
#24134A #4A131D #394A13 #134A3F
square
#24134A #4A131D #394A13 #134A3F
split-complementary
#24134A #4A3F13 #1D4A13
monochromatic
#0C0618 #0C0619 #24134A #3C207B #532CAB

Accessibility & contrast

On white

16.57
#24134A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24134A
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24134A#FFFFFF#000000##FFFFFF
##24134A1.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4C
Deuteranopia (green-blind)
#001D49
Tritanopia (blue-blind)
#18202C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #24134a;
/* rgb */ color: rgb(36, 19, 74);
/* oklch */ color: oklch(24.8% 0.096 292.1);
Tailwind
colors: {
  custom: {
    50: '#63527d',
    500: '#24134a',
    950: '#000000',
  },
}
SCSS
$custom: #24134a;
$custom-light: #63527d;
$custom-dark: #000000;
JSON
{
  "hex": "#24134a",
  "rgb": {
    "r": 36,
    "g": 19,
    "b": 74
  },
  "hsl": {
    "h": 258.545,
    "s": 59.14,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24759,
    "c": 0.09635,
    "h": 292.1
  },
  "luminance": 0.01335
}

Semantic roles & 50–950 ramp

primary
#24134A
secondary
#6B8336
accent
#E245B2
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #24134A

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

Preview Lab → · Contrast checker → · Palette generator →

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