#180B32#180B32

#180B32 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.6% C 0.073 H 293.9°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#180B32
RGBrgb(24, 11, 50)
HSLhsl(260, 64%, 12%)
HSVhsv(260, 78%, 20%)
CMYKcmyk(52%, 78%, 0%, 80.4%)
CIE-LABlab(6.00, 17.32, -23.07)
CIE-LCHlch(6.00, 28.85, 306.89°)
OKLaboklab(19.58% 0.0296 -0.0669)
OKLCHoklch(19.58% 0.073 293.9)
XYZxyz(1.0719, 0.6638, 3.0886)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180B32 #25320B
analogous
#0B1232 #180B32 #2C0B32
triadic
#180B32 #32180B #0B3218
tetradic
#180B32 #320B12 #25320B #0B322C
square
#180B32 #320B12 #25320B #0B322C
split-complementary
#180B32 #322C0B #12320B
monochromatic
#0C0619 #0C0619 #180B32 #301664 #482196

Accessibility & contrast

On white

18.54
#180B32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180B32
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180B32#FFFFFF#000000##FFFFFF
##180B321.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001433
Deuteranopia (green-blind)
#001331
Tritanopia (blue-blind)
#11141D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #180b32;
/* rgb */ color: rgb(24, 11, 50);
/* oklch */ color: oklch(19.6% 0.073 293.9);
Tailwind
colors: {
  custom: {
    50: '#574b6a',
    500: '#180b32',
    950: '#000000',
  },
}
SCSS
$custom: #180b32;
$custom-light: #574b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#180b32",
  "rgb": {
    "r": 24,
    "g": 11,
    "b": 50
  },
  "hsl": {
    "h": 260,
    "s": 63.934,
    "l": 11.961
  },
  "oklch": {
    "l": 0.1958,
    "c": 0.07315,
    "h": 293.9
  },
  "luminance": 0.00664
}

Semantic roles & 50–950 ramp

primary
#180B32
secondary
#586F2A
accent
#E741B0
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #180B32

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

Preview Lab → · Contrast checker → · Palette generator →

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