#180932#180932

#180932 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.2% C 0.076 H 295.0°. Best body text is #FFFFFF at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#180932
RGBrgb(24, 9, 50)
HSLhsl(262, 69%, 12%)
HSVhsv(262, 82%, 20%)
CMYKcmyk(52%, 82%, 0%, 80.4%)
CIE-LABlab(5.60, 18.26, -23.71)
CIE-LCHlch(5.60, 29.92, 307.60°)
OKLaboklab(19.23% 0.0323 -0.0692)
OKLCHoklch(19.23% 0.076 295)
XYZxyz(1.0499, 0.6198, 3.0813)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180932 #233209
analogous
#090F32 #180932 #2D0932
triadic
#180932 #321809 #093218
tetradic
#180932 #32090F #233209 #09322D
square
#180932 #32090F #233209 #09322D
split-complementary
#180932 #322D09 #0F3209
monochromatic
#0C051A #0C051A #180932 #311266 #4A1C9A

Accessibility & contrast

On white

18.68
#180932 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#180932 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180932
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180932#FFFFFF#000000##FFFFFF
##1809321.0018.681.1218.68
#FFFFFF18.681.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #180932;
/* rgb */ color: rgb(24, 9, 50);
/* oklch */ color: oklch(19.2% 0.076 295.0);
Tailwind
colors: {
  custom: {
    50: '#574a6a',
    500: '#180932',
    950: '#000000',
  },
}
SCSS
$custom: #180932;
$custom-light: #574a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#180932",
  "rgb": {
    "r": 24,
    "g": 9,
    "b": 50
  },
  "hsl": {
    "h": 261.951,
    "s": 69.492,
    "l": 11.569
  },
  "oklch": {
    "l": 0.19227,
    "c": 0.07639,
    "h": 295
  },
  "luminance": 0.0062
}

Semantic roles & 50–950 ramp

primary
#180932
secondary
#557027
accent
#EC3BAC
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #180932

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

Preview Lab → · Contrast checker → · Palette generator →

#180932 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva