#24133B#24133B

#24133B is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.4% C 0.075 H 300.3°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#24133B
RGBrgb(36, 19, 59)
HSLhsl(266, 51%, 15%)
HSVhsv(266, 68%, 23%)
CMYKcmyk(39%, 67.8%, 0%, 76.9%)
CIE-LABlab(10.23, 18.95, -22.71)
CIE-LCHlch(10.23, 29.57, 309.84°)
OKLaboklab(23.42% 0.0376 -0.0644)
OKLCHoklch(23.42% 0.075 300.3)
XYZxyz(1.7497, 1.1566, 4.2679)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24133B #2A3B13
analogous
#13163B #24133B #38133B
triadic
#24133B #3B2413 #133B24
tetradic
#24133B #3B1316 #2A3B13 #133B38
square
#24133B #3B1316 #2A3B13 #133B38
split-complementary
#24133B #3B3813 #163B13
monochromatic
#0E0717 #0E0717 #24133B #402269 #5C3198

Accessibility & contrast

On white

17.05
#24133B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#24133B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24133B
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24133B#FFFFFF#000000##FFFFFF
##24133B1.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021C3C
Deuteranopia (green-blind)
#071C3A
Tritanopia (blue-blind)
#1F1B24
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #24133b;
/* rgb */ color: rgb(36, 19, 59);
/* oklch */ color: oklch(23.4% 0.075 300.3);
Tailwind
colors: {
  custom: {
    50: '#615171',
    500: '#24133b',
    950: '#000000',
  },
}
SCSS
$custom: #24133b;
$custom-light: #615171;
$custom-dark: #000000;
JSON
{
  "hex": "#24133b",
  "rgb": {
    "r": 36,
    "g": 19,
    "b": 59
  },
  "hsl": {
    "h": 265.5,
    "s": 51.282,
    "l": 15.294
  },
  "oklch": {
    "l": 0.2342,
    "c": 0.07455,
    "h": 300.3
  },
  "luminance": 0.01157
}

Semantic roles & 50–950 ramp

primary
#24133B
secondary
#597336
accent
#DB4D9F
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050207
muted
#79787A

Preview Lab

Preview with #24133B

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

Preview Lab → · Contrast checker → · Palette generator →

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