#18032A#18032A

#18032A is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.2% C 0.077 H 304.9°. Best body text is #FFFFFF at 19.35:1 contrast (WCAG AA passes).

Color values

HEX#18032A
RGBrgb(24, 3, 42)
HSLhsl(272, 87%, 9%)
HSVhsv(272, 93%, 16%)
CMYKcmyk(42.9%, 92.9%, 0%, 83.5%)
CIE-LABlab(3.85, 17.28, -20.48)
CIE-LCHlch(3.85, 26.79, 310.15°)
OKLaboklab(17.21% 0.0442 -0.0635)
OKLCHoklch(17.21% 0.077 304.9)
XYZxyz(0.8271, 0.4265, 2.2288)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18032A #152A03
analogous
#05032A #18032A #2A0329
triadic
#18032A #2A1803 #032A18
tetradic
#18032A #2A0503 #152A03 #03292A
square
#18032A #2A0503 #152A03 #03292A
split-complementary
#18032A #292A03 #032A05
monochromatic
#10021D #10021D #18032A #390763 #590B9C

Accessibility & contrast

On white

19.35
#18032A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#18032A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18032A
19.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18032A#FFFFFF#000000##FFFFFF
##18032A1.0019.351.0919.35
#FFFFFF19.351.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2B
Deuteranopia (green-blind)
#000E29
Tritanopia (blue-blind)
#150C15
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #18032a;
/* rgb */ color: rgb(24, 3, 42);
/* oklch */ color: oklch(17.2% 0.077 304.9);
Tailwind
colors: {
  custom: {
    50: '#554764',
    500: '#18032a',
    950: '#000000',
  },
}
SCSS
$custom: #18032a;
$custom-light: #554764;
$custom-dark: #000000;
JSON
{
  "hex": "#18032a",
  "rgb": {
    "r": 24,
    "g": 3,
    "b": 42
  },
  "hsl": {
    "h": 272.308,
    "s": 86.667,
    "l": 8.824
  },
  "oklch": {
    "l": 0.17209,
    "c": 0.07738,
    "h": 304.9
  },
  "luminance": 0.00426
}

Semantic roles & 50–950 ramp

primary
#18032A
secondary
#416E1B
accent
#FD2B8C
background
#F5F4F5
surface
#E9E6EA
border
#C5C2C6
text
#030005
muted
#787779

Preview Lab

Preview with #18032A

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

Preview Lab → · Contrast checker → · Palette generator →

#18032A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva