#18032B#18032B

#18032B is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.3% C 0.079 H 303.9°. Best body text is #FFFFFF at 19.32:1 contrast (WCAG AA passes).

Color values

HEX#18032B
RGBrgb(24, 3, 43)
HSLhsl(272, 87%, 9%)
HSVhsv(272, 93%, 17%)
CMYKcmyk(44.2%, 93%, 0%, 83.1%)
CIE-LABlab(3.92, 17.74, -21.14)
CIE-LCHlch(3.92, 27.59, 310.00°)
OKLaboklab(17.32% 0.0439 -0.0652)
OKLCHoklch(17.32% 0.079 303.9)
XYZxyz(0.8452, 0.4337, 2.3242)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18032B #162B03
analogous
#04032B #18032B #2B032A
triadic
#18032B #2B1803 #032B18
tetradic
#18032B #2B0403 #162B03 #032A2B
square
#18032B #2B0403 #162B03 #032A2B
split-complementary
#18032B #2A2B03 #032B04
monochromatic
#10021D #10021D #18032B #380764 #580B9D

Accessibility & contrast

On white

19.32
#18032B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18032B
19.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18032B#FFFFFF#000000##FFFFFF
##18032B1.0019.321.0919.32
#FFFFFF19.321.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2C
Deuteranopia (green-blind)
#000E2A
Tritanopia (blue-blind)
#140C16
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #18032b;
/* rgb */ color: rgb(24, 3, 43);
/* oklch */ color: oklch(17.3% 0.079 303.9);
Tailwind
colors: {
  custom: {
    50: '#554764',
    500: '#18032b',
    950: '#000000',
  },
}
SCSS
$custom: #18032b;
$custom-light: #554764;
$custom-dark: #000000;
JSON
{
  "hex": "#18032b",
  "rgb": {
    "r": 24,
    "g": 3,
    "b": 43
  },
  "hsl": {
    "h": 271.5,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.17316,
    "c": 0.07861,
    "h": 303.9
  },
  "luminance": 0.00434
}

Semantic roles & 50–950 ramp

primary
#18032B
secondary
#436F1B
accent
#FD2B8F
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030005
muted
#78777A

Preview Lab

Preview with #18032B

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

Preview Lab → · Contrast checker → · Palette generator →

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