#24034E#24034E

#24034E is a very dark, vivid violet. Relative luminance 0.010; OKLCH L 23.1% C 0.121 H 294.6°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#24034E
RGBrgb(36, 3, 78)
HSLhsl(266, 93%, 16%)
HSVhsv(266, 96%, 31%)
CMYKcmyk(53.8%, 96.2%, 0%, 69.4%)
CIE-LABlab(8.91, 33.71, -38.25)
CIE-LCHlch(8.91, 50.98, 311.39°)
OKLaboklab(23.06% 0.0504 -0.1098)
OKLCHoklch(23.06% 0.121 294.6)
XYZxyz(2.1349, 0.9902, 7.2849)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24034E #2D4E03
analogous
#03074E #24034E #49034E
triadic
#24034E #4E2403 #034E24
tetradic
#24034E #4E0307 #2D4E03 #034E49
square
#24034E #4E0307 #2D4E03 #034E49
split-complementary
#24034E #4E4903 #074E03
monochromatic
#0E011D #0E011D #24034E #3F0589 #5A08C4

Accessibility & contrast

On white

17.53
#24034E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#24034E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24034E
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24034E#FFFFFF#000000##FFFFFF
##24034E1.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A50
Deuteranopia (green-blind)
#00184D
Tritanopia (blue-blind)
#171B2B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #24034e;
/* rgb */ color: rgb(36, 3, 78);
/* oklch */ color: oklch(23.1% 0.121 294.6);
Tailwind
colors: {
  custom: {
    50: '#654980',
    500: '#24034e',
    950: '#000000',
  },
}
SCSS
$custom: #24034e;
$custom-light: #654980;
$custom-dark: #000000;
JSON
{
  "hex": "#24034e",
  "rgb": {
    "r": 36,
    "g": 3,
    "b": 78
  },
  "hsl": {
    "h": 266.4,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.23063,
    "c": 0.12079,
    "h": 294.6
  },
  "luminance": 0.0099
}

Semantic roles & 50–950 ramp

primary
#24034E
secondary
#5D8E1E
accent
#FF29A1
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06010A
muted
#7A777C

Preview Lab

Preview with #24034E

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

Preview Lab → · Contrast checker → · Palette generator →

#24034E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva