#24104B#24104B

#24104B is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.4% C 0.102 H 292.7°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#24104B
RGBrgb(36, 16, 75)
HSLhsl(260, 65%, 18%)
HSVhsv(260, 79%, 29%)
CMYKcmyk(52%, 78.7%, 0%, 70.6%)
CIE-LABlab(10.95, 25.96, -32.82)
CIE-LCHlch(10.95, 41.85, 308.35°)
OKLaboklab(24.38% 0.0394 -0.0941)
OKLCHoklch(24.38% 0.102 292.7)
XYZxyz(2.1825, 1.2536, 6.7822)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24104B #374B10
analogous
#10194B #24104B #41104B
triadic
#24104B #4B2410 #104B24
tetradic
#24104B #4B1019 #374B10 #104B41
square
#24104B #4B1019 #374B10 #104B41
split-complementary
#24104B #4B4110 #194B10
monochromatic
#0C0519 #0C0519 #24104B #3C1B7D #5426B0

Accessibility & contrast

On white

16.79
#24104B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#24104B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24104B
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24104B#FFFFFF#000000##FFFFFF
##24104B1.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4D
Deuteranopia (green-blind)
#001C4A
Tritanopia (blue-blind)
#181F2C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #24104b;
/* rgb */ color: rgb(36, 16, 75);
/* oklch */ color: oklch(24.4% 0.102 292.7);
Tailwind
colors: {
  custom: {
    50: '#63507e',
    500: '#24104b',
    950: '#000000',
  },
}
SCSS
$custom: #24104b;
$custom-light: #63507e;
$custom-dark: #000000;
JSON
{
  "hex": "#24104b",
  "rgb": {
    "r": 36,
    "g": 16,
    "b": 75
  },
  "hsl": {
    "h": 260.339,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24379,
    "c": 0.10199,
    "h": 292.7
  },
  "luminance": 0.01254
}

Semantic roles & 50–950 ramp

primary
#24104B
secondary
#698532
accent
#E840AF
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #24104B

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

Preview Lab → · Contrast checker → · Palette generator →

#24104B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva