#180B37#180B37

#180B37 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.1% C 0.081 H 290.9°. Best body text is #FFFFFF at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#180B37
RGBrgb(24, 11, 55)
HSLhsl(258, 67%, 13%)
HSVhsv(258, 80%, 22%)
CMYKcmyk(56.4%, 80%, 0%, 78.4%)
CIE-LABlab(6.41, 19.38, -26.08)
CIE-LCHlch(6.41, 32.49, 306.62°)
OKLaboklab(20.08% 0.0288 -0.0753)
OKLCHoklch(20.08% 0.081 290.9)
XYZxyz(1.1858, 0.7093, 3.6881)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180B37 #2A370B
analogous
#0B1437 #180B37 #2E0B37
triadic
#180B37 #37180B #0B3718
tetradic
#180B37 #370B14 #2A370B #0B372E
square
#180B37 #370B14 #2A370B #0B372E
split-complementary
#180B37 #372E0B #14370B
monochromatic
#0B051A #0B051A #180B37 #2E156A #451F9D

Accessibility & contrast

On white

18.39
#180B37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180B37
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180B37#FFFFFF#000000##FFFFFF
##180B371.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001538
Deuteranopia (green-blind)
#001336
Tritanopia (blue-blind)
#0E161F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #180b37;
/* rgb */ color: rgb(24, 11, 55);
/* oklch */ color: oklch(20.1% 0.081 290.9);
Tailwind
colors: {
  custom: {
    50: '#584b6e',
    500: '#180b37',
    950: '#000000',
  },
}
SCSS
$custom: #180b37;
$custom-light: #584b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#180b37",
  "rgb": {
    "r": 24,
    "g": 11,
    "b": 55
  },
  "hsl": {
    "h": 257.727,
    "s": 66.667,
    "l": 12.941
  },
  "oklch": {
    "l": 0.20083,
    "c": 0.08064,
    "h": 290.9
  },
  "luminance": 0.00709
}

Semantic roles & 50–950 ramp

primary
#180B37
secondary
#5E742A
accent
#EA3EB7
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040107
muted
#79777A

Preview Lab

Preview with #180B37

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

Preview Lab → · Contrast checker → · Palette generator →

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