#180B34#180B34

#180B34 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.8% C 0.076 H 292.6°. Best body text is #FFFFFF at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#180B34
RGBrgb(24, 11, 52)
HSLhsl(259, 65%, 12%)
HSVhsv(259, 79%, 20%)
CMYKcmyk(53.8%, 78.8%, 0%, 79.6%)
CIE-LABlab(6.16, 18.15, -24.29)
CIE-LCHlch(6.16, 30.32, 306.77°)
OKLaboklab(19.78% 0.0293 -0.0703)
OKLCHoklch(19.78% 0.076 292.6)
XYZxyz(1.1160, 0.6814, 3.3209)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180B34 #27340B
analogous
#0B1334 #180B34 #2C0B34
triadic
#180B34 #34180B #0B3418
tetradic
#180B34 #340B13 #27340B #0B342C
square
#180B34 #340B13 #27340B #0B342C
split-complementary
#180B34 #342C0B #13340B
monochromatic
#0C0519 #0C0519 #180B34 #2F1667 #472099

Accessibility & contrast

On white

18.48
#180B34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#180B34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180B34
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180B34#FFFFFF#000000##FFFFFF
##180B341.0018.481.1418.48
#FFFFFF18.481.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001435
Deuteranopia (green-blind)
#001333
Tritanopia (blue-blind)
#10151E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #180b34;
/* rgb */ color: rgb(24, 11, 52);
/* oklch */ color: oklch(19.8% 0.076 292.6);
Tailwind
colors: {
  custom: {
    50: '#584b6c',
    500: '#180b34',
    950: '#000000',
  },
}
SCSS
$custom: #180b34;
$custom-light: #584b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#180b34",
  "rgb": {
    "r": 24,
    "g": 11,
    "b": 52
  },
  "hsl": {
    "h": 259.024,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.19778,
    "c": 0.07617,
    "h": 292.6
  },
  "luminance": 0.00681
}

Semantic roles & 50–950 ramp

primary
#180B34
secondary
#5A712A
accent
#E840B3
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #180B34

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

Preview Lab → · Contrast checker → · Palette generator →

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