#24094C#24094C

#24094C is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.6% C 0.112 H 294.2°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#24094C
RGBrgb(36, 9, 76)
HSLhsl(264, 79%, 17%)
HSVhsv(264, 88%, 30%)
CMYKcmyk(52.6%, 88.2%, 0%, 70.2%)
CIE-LABlab(9.74, 30.02, -35.50)
CIE-LCHlch(9.74, 46.49, 310.22°)
OKLaboklab(23.56% 0.0458 -0.1019)
OKLCHoklch(23.56% 0.112 294.2)
XYZxyz(2.1294, 1.0922, 6.9347)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24094C #314C09
analogous
#09104C #24094C #46094C
triadic
#24094C #4C2409 #094C24
tetradic
#24094C #4C0910 #314C09 #094C46
square
#24094C #4C0910 #314C09 #094C46
split-complementary
#24094C #4C4609 #104C09
monochromatic
#0D031B #0D031B #24094C #3E0F83 #5816B9

Accessibility & contrast

On white

17.24
#24094C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#24094C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24094C
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24094C#FFFFFF#000000##FFFFFF
##24094C1.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4E
Deuteranopia (green-blind)
#001A4B
Tritanopia (blue-blind)
#181C2B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #24094c;
/* rgb */ color: rgb(36, 9, 76);
/* oklch */ color: oklch(23.6% 0.112 294.2);
Tailwind
colors: {
  custom: {
    50: '#644c7f',
    500: '#24094c',
    950: '#000000',
  },
}
SCSS
$custom: #24094c;
$custom-light: #644c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#24094c",
  "rgb": {
    "r": 36,
    "g": 9,
    "b": 76
  },
  "hsl": {
    "h": 264.179,
    "s": 78.824,
    "l": 16.667
  },
  "oklch": {
    "l": 0.23562,
    "c": 0.1117,
    "h": 294.2
  },
  "luminance": 0.01092
}

Semantic roles & 50–950 ramp

primary
#24094C
secondary
#628928
accent
#F533A7
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06010A
muted
#7A777C

Preview Lab

Preview with #24094C

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

Preview Lab → · Contrast checker → · Palette generator →

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