#180A32#180A32

#180A32 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.4% C 0.075 H 294.4°. Best body text is #FFFFFF at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#180A32
RGBrgb(24, 10, 50)
HSLhsl(261, 67%, 12%)
HSVhsv(261, 80%, 20%)
CMYKcmyk(52%, 80%, 0%, 80.4%)
CIE-LABlab(5.79, 17.80, -23.39)
CIE-LCHlch(5.79, 29.39, 307.26°)
OKLaboklab(19.4% 0.0309 -0.0681)
OKLCHoklch(19.4% 0.075 294.4)
XYZxyz(1.0608, 0.6415, 3.0849)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180A32 #24320A
analogous
#0A1032 #180A32 #2C0A32
triadic
#180A32 #32180A #0A3218
tetradic
#180A32 #320A10 #24320A #0A322C
square
#180A32 #320A10 #24320A #0A322C
split-complementary
#180A32 #322C0A #10320A
monochromatic
#0C051A #0C051A #180A32 #301465 #491E98

Accessibility & contrast

On white

18.61
#180A32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#180A32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180A32
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180A32#FFFFFF#000000##FFFFFF
##180A321.0018.611.1318.61
#FFFFFF18.611.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001333
Deuteranopia (green-blind)
#001231
Tritanopia (blue-blind)
#11141C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #180a32;
/* rgb */ color: rgb(24, 10, 50);
/* oklch */ color: oklch(19.4% 0.075 294.4);
Tailwind
colors: {
  custom: {
    50: '#574a6a',
    500: '#180a32',
    950: '#000000',
  },
}
SCSS
$custom: #180a32;
$custom-light: #574a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#180a32",
  "rgb": {
    "r": 24,
    "g": 10,
    "b": 50
  },
  "hsl": {
    "h": 261,
    "s": 66.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19403,
    "c": 0.07476,
    "h": 294.4
  },
  "luminance": 0.00642
}

Semantic roles & 50–950 ramp

primary
#180A32
secondary
#576F28
accent
#EA3EAE
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #180A32

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

Preview Lab → · Contrast checker → · Palette generator →

#180A32 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva