#18032C#18032C

#18032C is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.4% C 0.080 H 303.0°. Best body text is #FFFFFF at 19.30:1 contrast (WCAG AA passes).

Color values

HEX#18032C
RGBrgb(24, 3, 44)
HSLhsl(271, 87%, 9%)
HSVhsv(271, 93%, 17%)
CMYKcmyk(45.5%, 93.2%, 0%, 82.7%)
CIE-LABlab(3.99, 18.20, -21.79)
CIE-LCHlch(3.99, 28.39, 309.87°)
OKLaboklab(17.42% 0.0435 -0.0669)
OKLCHoklch(17.42% 0.08 303)
XYZxyz(0.8638, 0.4412, 2.4220)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18032C #172C03
analogous
#04032C #18032C #2C032C
triadic
#18032C #2C1803 #032C18
tetradic
#18032C #2C0403 #172C03 #032C2C
square
#18032C #2C0403 #172C03 #032C2C
split-complementary
#18032C #2C2C03 #032C04
monochromatic
#10021D #10021D #18032C #370765 #570B9F

Accessibility & contrast

On white

19.30
#18032C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18032C
19.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18032C#FFFFFF#000000##FFFFFF
##18032C1.0019.301.0919.30
#FFFFFF19.301.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2D
Deuteranopia (green-blind)
#000E2B
Tritanopia (blue-blind)
#140D17
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #18032c;
/* rgb */ color: rgb(24, 3, 44);
/* oklch */ color: oklch(17.4% 0.080 303.0);
Tailwind
colors: {
  custom: {
    50: '#564765',
    500: '#18032c',
    950: '#000000',
  },
}
SCSS
$custom: #18032c;
$custom-light: #564765;
$custom-dark: #000000;
JSON
{
  "hex": "#18032c",
  "rgb": {
    "r": 24,
    "g": 3,
    "b": 44
  },
  "hsl": {
    "h": 270.732,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.17424,
    "c": 0.07983,
    "h": 303
  },
  "luminance": 0.00441
}

Semantic roles & 50–950 ramp

primary
#18032C
secondary
#44701B
accent
#FD2A91
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030005
muted
#78777A

Preview Lab

Preview with #18032C

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

Preview Lab → · Contrast checker → · Palette generator →

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