#180332#180332

#180332 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.1% C 0.087 H 298.1°. Best body text is #FFFFFF at 19.13:1 contrast (WCAG AA passes).

Color values

HEX#180332
RGBrgb(24, 3, 50)
HSLhsl(267, 89%, 10%)
HSVhsv(267, 94%, 20%)
CMYKcmyk(52%, 94%, 0%, 80.4%)
CIE-LABlab(4.42, 20.98, -25.59)
CIE-LCHlch(4.42, 33.09, 309.34°)
OKLaboklab(18.1% 0.0411 -0.0769)
OKLCHoklch(18.1% 0.087 298.1)
XYZxyz(0.9848, 0.4896, 3.0596)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180332 #1D3203
analogous
#030532 #180332 #2F0332
triadic
#180332 #321803 #033218
tetradic
#180332 #320305 #1D3203 #03322F
square
#180332 #320305 #1D3203 #03322F
split-complementary
#180332 #322F03 #053203
monochromatic
#0E021D #0E021D #180332 #34066C #4F0AA5

Accessibility & contrast

On white

19.13
#180332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#180332 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180332
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180332#FFFFFF#000000##FFFFFF
##1803321.0019.131.1019.13
#FFFFFF19.131.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F33
Deuteranopia (green-blind)
#000F31
Tritanopia (blue-blind)
#110F1A
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #180332;
/* rgb */ color: rgb(24, 3, 50);
/* oklch */ color: oklch(18.1% 0.087 298.1);
Tailwind
colors: {
  custom: {
    50: '#57476a',
    500: '#180332',
    950: '#000000',
  },
}
SCSS
$custom: #180332;
$custom-light: #57476a;
$custom-dark: #000000;
JSON
{
  "hex": "#180332",
  "rgb": {
    "r": 24,
    "g": 3,
    "b": 50
  },
  "hsl": {
    "h": 266.809,
    "s": 88.679,
    "l": 10.392
  },
  "oklch": {
    "l": 0.18095,
    "c": 0.08719,
    "h": 298.1
  },
  "luminance": 0.0049
}

Semantic roles & 50–950 ramp

primary
#180332
secondary
#4D751B
accent
#FF299F
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #180332

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

Preview Lab → · Contrast checker → · Palette generator →

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