#24133F#24133F

#24133F is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.8% C 0.080 H 297.8°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#24133F
RGBrgb(36, 19, 63)
HSLhsl(263, 54%, 16%)
HSVhsv(263, 70%, 25%)
CMYKcmyk(42.9%, 69.8%, 0%, 75.3%)
CIE-LABlab(10.56, 20.21, -25.04)
CIE-LCHlch(10.56, 32.18, 308.91°)
OKLaboklab(23.76% 0.0375 -0.0712)
OKLCHoklch(23.76% 0.08 297.8)
XYZxyz(1.8574, 1.1997, 4.8354)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24133F #2E3F13
analogous
#13183F #24133F #3A133F
triadic
#24133F #3F2413 #133F24
tetradic
#24133F #3F1318 #2E3F13 #133F3A
square
#24133F #3F1318 #2E3F13 #133F3A
split-complementary
#24133F #3F3A13 #183F13
monochromatic
#0D0718 #0D0718 #24133F #3F216E #5A2F9D

Accessibility & contrast

On white

16.94
#24133F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#24133F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24133F
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24133F#FFFFFF#000000##FFFFFF
##24133F1.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D40
Deuteranopia (green-blind)
#021C3E
Tritanopia (blue-blind)
#1E1D26
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #24133f;
/* rgb */ color: rgb(36, 19, 63);
/* oklch */ color: oklch(23.8% 0.080 297.8);
Tailwind
colors: {
  custom: {
    50: '#615174',
    500: '#24133f',
    950: '#000000',
  },
}
SCSS
$custom: #24133f;
$custom-light: #615174;
$custom-dark: #000000;
JSON
{
  "hex": "#24133f",
  "rgb": {
    "r": 36,
    "g": 19,
    "b": 63
  },
  "hsl": {
    "h": 263.182,
    "s": 53.659,
    "l": 16.078
  },
  "oklch": {
    "l": 0.23757,
    "c": 0.08047,
    "h": 297.8
  },
  "luminance": 0.012
}

Semantic roles & 50–950 ramp

primary
#24133F
secondary
#5E7836
accent
#DD4BA5
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #24133F

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

Preview Lab → · Contrast checker → · Palette generator →

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