#180B35#180B35

#180B35 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.9% C 0.078 H 292.0°. Best body text is #FFFFFF at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#180B35
RGBrgb(24, 11, 53)
HSLhsl(259, 66%, 13%)
HSVhsv(259, 79%, 21%)
CMYKcmyk(54.7%, 79.2%, 0%, 79.2%)
CIE-LABlab(6.24, 18.56, -24.89)
CIE-LCHlch(6.24, 31.05, 306.71°)
OKLaboklab(19.88% 0.0291 -0.072)
OKLCHoklch(19.88% 0.078 292)
XYZxyz(1.1388, 0.6905, 3.4408)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180B35 #28350B
analogous
#0B1335 #180B35 #2D0B35
triadic
#180B35 #35180B #0B3518
tetradic
#180B35 #350B13 #28350B #0B352D
square
#180B35 #350B13 #28350B #0B352D
split-complementary
#180B35 #352D0B #13350B
monochromatic
#0B0519 #0B0519 #180B35 #2F1668 #46209A

Accessibility & contrast

On white

18.45
#180B35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180B35
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180B35#FFFFFF#000000##FFFFFF
##180B351.0018.451.1418.45
#FFFFFF18.451.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001436
Deuteranopia (green-blind)
#001334
Tritanopia (blue-blind)
#0F151E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #180b35;
/* rgb */ color: rgb(24, 11, 53);
/* oklch */ color: oklch(19.9% 0.078 292.0);
Tailwind
colors: {
  custom: {
    50: '#584b6d',
    500: '#180b35',
    950: '#000000',
  },
}
SCSS
$custom: #180b35;
$custom-light: #584b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#180b35",
  "rgb": {
    "r": 24,
    "g": 11,
    "b": 53
  },
  "hsl": {
    "h": 258.571,
    "s": 65.625,
    "l": 12.549
  },
  "oklch": {
    "l": 0.19879,
    "c": 0.07766,
    "h": 292
  },
  "luminance": 0.00691
}

Semantic roles & 50–950 ramp

primary
#180B35
secondary
#5C722A
accent
#E93FB4
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #180B35

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

Preview Lab → · Contrast checker → · Palette generator →

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