#180832#180832

#180832 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.0% C 0.078 H 295.5°. Best body text is #FFFFFF at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#180832
RGBrgb(24, 8, 50)
HSLhsl(263, 72%, 11%)
HSVhsv(263, 84%, 20%)
CMYKcmyk(52%, 84%, 0%, 80.4%)
CIE-LABlab(5.40, 18.72, -24.02)
CIE-LCHlch(5.40, 30.45, 307.93°)
OKLaboklab(19.05% 0.0336 -0.0704)
OKLCHoklch(19.05% 0.078 295.5)
XYZxyz(1.0391, 0.5981, 3.0777)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180832 #223208
analogous
#080D32 #180832 #2D0832
triadic
#180832 #321808 #083218
tetradic
#180832 #32080D #223208 #08322D
square
#180832 #32080D #223208 #08322D
split-complementary
#180832 #322D08 #0D3208
monochromatic
#0D041A #0D041A #180832 #311067 #4B199C

Accessibility & contrast

On white

18.76
#180832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180832
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180832#FFFFFF#000000##FFFFFF
##1808321.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001233
Deuteranopia (green-blind)
#001131
Tritanopia (blue-blind)
#11121C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #180832;
/* rgb */ color: rgb(24, 8, 50);
/* oklch */ color: oklch(19.0% 0.078 295.5);
Tailwind
colors: {
  custom: {
    50: '#57496a',
    500: '#180832',
    950: '#000000',
  },
}
SCSS
$custom: #180832;
$custom-light: #57496a;
$custom-dark: #000000;
JSON
{
  "hex": "#180832",
  "rgb": {
    "r": 24,
    "g": 8,
    "b": 50
  },
  "hsl": {
    "h": 262.857,
    "s": 72.414,
    "l": 11.373
  },
  "oklch": {
    "l": 0.19047,
    "c": 0.07805,
    "h": 295.5
  },
  "luminance": 0.00598
}

Semantic roles & 50–950 ramp

primary
#180832
secondary
#547125
accent
#EF39AA
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #180832

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

Preview Lab → · Contrast checker → · Palette generator →

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