#180B49#180B49

#180B49 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.1% C 0.106 H 283.0°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#180B49
RGBrgb(24, 11, 73)
HSLhsl(253, 74%, 16%)
HSVhsv(253, 85%, 29%)
CMYKcmyk(67.1%, 84.9%, 0%, 71.4%)
CIE-LABlab(8.26, 26.16, -35.89)
CIE-LCHlch(8.26, 44.42, 306.09°)
OKLaboklab(22.08% 0.0239 -0.1035)
OKLCHoklch(22.08% 0.106 283)
XYZxyz(1.6986, 0.9145, 6.3890)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180B49 #3C490B
analogous
#0B1D49 #180B49 #370B49
triadic
#180B49 #49180B #0B4918
tetradic
#180B49 #490B1D #3C490B #0B4937
square
#180B49 #490B1D #3C490B #0B4937
split-complementary
#180B49 #49370B #1D490B
monochromatic
#09041B #09041B #180B49 #29137E #3B1BB3

Accessibility & contrast

On white

17.75
#180B49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#180B49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180B49
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180B49#FFFFFF#000000##FFFFFF
##180B491.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4B
Deuteranopia (green-blind)
#001648
Tritanopia (blue-blind)
#001D29
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #180b49;
/* rgb */ color: rgb(24, 11, 73);
/* oklch */ color: oklch(22.1% 0.106 283.0);
Tailwind
colors: {
  custom: {
    50: '#5d4c7c',
    500: '#180b49',
    950: '#000000',
  },
}
SCSS
$custom: #180b49;
$custom-light: #5d4c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#180b49",
  "rgb": {
    "r": 24,
    "g": 11,
    "b": 73
  },
  "hsl": {
    "h": 252.581,
    "s": 73.81,
    "l": 16.471
  },
  "oklch": {
    "l": 0.22077,
    "c": 0.10622,
    "h": 283
  },
  "luminance": 0.00915
}

Semantic roles & 50–950 ramp

primary
#180B49
secondary
#72852A
accent
#F037CA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #180B49

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

Preview Lab → · Contrast checker → · Palette generator →

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