#180B3B#180B3B

#180B3B is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.5% C 0.086 H 288.8°. Best body text is #FFFFFF at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#180B3B
RGBrgb(24, 11, 59)
HSLhsl(256, 69%, 14%)
HSVhsv(256, 81%, 23%)
CMYKcmyk(59.3%, 81.4%, 0%, 76.9%)
CIE-LABlab(6.77, 20.99, -28.40)
CIE-LCHlch(6.77, 35.31, 306.48°)
OKLaboklab(20.5% 0.0279 -0.0819)
OKLCHoklch(20.5% 0.087 288.8)
XYZxyz(1.2855, 0.7492, 4.2137)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180B3B #2E3B0B
analogous
#0B163B #180B3B #300B3B
triadic
#180B3B #3B180B #0B3B18
tetradic
#180B3B #3B0B16 #2E3B0B #0B3B30
square
#180B3B #3B0B16 #2E3B0B #0B3B30
split-complementary
#180B3B #3B300B #163B0B
monochromatic
#0A051A #0A051A #180B3B #2D156F #421EA2

Accessibility & contrast

On white

18.26
#180B3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#180B3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180B3B
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180B3B#FFFFFF#000000##FFFFFF
##180B3B1.0018.261.1518.26
#FFFFFF18.261.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163C
Deuteranopia (green-blind)
#00143A
Tritanopia (blue-blind)
#0B1822
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #180b3b;
/* rgb */ color: rgb(24, 11, 59);
/* oklch */ color: oklch(20.5% 0.086 288.8);
Tailwind
colors: {
  custom: {
    50: '#594b71',
    500: '#180b3b',
    950: '#000000',
  },
}
SCSS
$custom: #180b3b;
$custom-light: #594b71;
$custom-dark: #000000;
JSON
{
  "hex": "#180b3b",
  "rgb": {
    "r": 24,
    "g": 11,
    "b": 59
  },
  "hsl": {
    "h": 256.25,
    "s": 68.571,
    "l": 13.725
  },
  "oklch": {
    "l": 0.20503,
    "c": 0.0865,
    "h": 288.8
  },
  "luminance": 0.00749
}

Semantic roles & 50–950 ramp

primary
#180B3B
secondary
#63782A
accent
#EB3CBC
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040108
muted
#79777B

Preview Lab

Preview with #180B3B

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

Preview Lab → · Contrast checker → · Palette generator →

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