#180632#180632

#180632 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.7% C 0.082 H 296.6°. Best body text is #FFFFFF at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#180632
RGBrgb(24, 6, 50)
HSLhsl(265, 79%, 11%)
HSVhsv(265, 88%, 20%)
CMYKcmyk(52%, 88%, 0%, 80.4%)
CIE-LABlab(5.01, 19.63, -24.65)
CIE-LCHlch(5.01, 31.51, 308.53°)
OKLaboklab(18.68% 0.0365 -0.0729)
OKLCHoklch(18.68% 0.082 296.6)
XYZxyz(1.0174, 0.5547, 3.0705)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180632 #203206
analogous
#060A32 #180632 #2E0632
triadic
#180632 #321806 #063218
tetradic
#180632 #32060A #203206 #06322E
square
#180632 #32060A #203206 #06322E
split-complementary
#180632 #322E06 #0A3206
monochromatic
#0D031B #0D031B #180632 #320D69 #4C139F

Accessibility & contrast

On white

18.90
#180632 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#180632 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180632
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180632#FFFFFF#000000##FFFFFF
##1806321.0018.901.1118.90
#FFFFFF18.901.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001133
Deuteranopia (green-blind)
#001031
Tritanopia (blue-blind)
#11111B
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #180632;
/* rgb */ color: rgb(24, 6, 50);
/* oklch */ color: oklch(18.7% 0.082 296.6);
Tailwind
colors: {
  custom: {
    50: '#57486a',
    500: '#180632',
    950: '#000000',
  },
}
SCSS
$custom: #180632;
$custom-light: #57486a;
$custom-dark: #000000;
JSON
{
  "hex": "#180632",
  "rgb": {
    "r": 24,
    "g": 6,
    "b": 50
  },
  "hsl": {
    "h": 264.545,
    "s": 78.571,
    "l": 10.98
  },
  "oklch": {
    "l": 0.18678,
    "c": 0.08153,
    "h": 296.6
  },
  "luminance": 0.00555
}

Semantic roles & 50–950 ramp

primary
#180632
secondary
#517321
accent
#F533A6
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #180632

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

Preview Lab → · Contrast checker → · Palette generator →

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