#18032F#18032F

#18032F is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.8% C 0.084 H 300.5°. Best body text is #FFFFFF at 19.21:1 contrast (WCAG AA passes).

Color values

HEX#18032F
RGBrgb(24, 3, 47)
HSLhsl(269, 88%, 10%)
HSVhsv(269, 94%, 18%)
CMYKcmyk(48.9%, 93.6%, 0%, 81.6%)
CIE-LABlab(4.20, 19.59, -23.72)
CIE-LCHlch(4.20, 30.76, 309.56°)
OKLaboklab(17.75% 0.0424 -0.072)
OKLCHoklch(17.75% 0.084 300.5)
XYZxyz(0.9222, 0.4645, 2.7299)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18032F #1A2F03
analogous
#03042F #18032F #2E032F
triadic
#18032F #2F1803 #032F18
tetradic
#18032F #2F0304 #1A2F03 #032F2E
square
#18032F #2F0304 #1A2F03 #032F2E
split-complementary
#18032F #2F2E03 #042F03
monochromatic
#0F021D #0F021D #18032F #350769 #530AA2

Accessibility & contrast

On white

19.21
#18032F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18032F
19.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18032F#FFFFFF#000000##FFFFFF
##18032F1.0019.211.0919.21
#FFFFFF19.211.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F30
Deuteranopia (green-blind)
#000E2E
Tritanopia (blue-blind)
#130E18
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #18032f;
/* rgb */ color: rgb(24, 3, 47);
/* oklch */ color: oklch(17.8% 0.084 300.5);
Tailwind
colors: {
  custom: {
    50: '#564768',
    500: '#18032f',
    950: '#000000',
  },
}
SCSS
$custom: #18032f;
$custom-light: #564768;
$custom-dark: #000000;
JSON
{
  "hex": "#18032f",
  "rgb": {
    "r": 24,
    "g": 3,
    "b": 47
  },
  "hsl": {
    "h": 268.636,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.17754,
    "c": 0.08351,
    "h": 300.5
  },
  "luminance": 0.00465
}

Semantic roles & 50–950 ramp

primary
#18032F
secondary
#49731B
accent
#FE2A99
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #18032F

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

Preview Lab → · Contrast checker → · Palette generator →

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