#180B44#180B44

#180B44 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.5% C 0.099 H 284.8°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#180B44
RGBrgb(24, 11, 68)
HSLhsl(254, 72%, 15%)
HSVhsv(254, 84%, 27%)
CMYKcmyk(64.7%, 83.8%, 0%, 73.3%)
CIE-LABlab(7.69, 24.41, -33.32)
CIE-LCHlch(7.69, 41.31, 306.23°)
OKLaboklab(21.5% 0.0254 -0.096)
OKLCHoklch(21.5% 0.099 284.8)
XYZxyz(1.5394, 0.8508, 5.5508)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180B44 #37440B
analogous
#0B1A44 #180B44 #340B44
triadic
#180B44 #44180B #0B4418
tetradic
#180B44 #440B1A #37440B #0B4434
square
#180B44 #440B1A #37440B #0B4434
split-complementary
#180B44 #44340B #1A440B
monochromatic
#09041A #09041A #180B44 #2B1479 #3D1CAD

Accessibility & contrast

On white

17.95
#180B44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#180B44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180B44
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180B44#FFFFFF#000000##FFFFFF
##180B441.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001846
Deuteranopia (green-blind)
#001543
Tritanopia (blue-blind)
#031B27
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #180b44;
/* rgb */ color: rgb(24, 11, 68);
/* oklch */ color: oklch(21.5% 0.099 284.8);
Tailwind
colors: {
  custom: {
    50: '#5c4b79',
    500: '#180b44',
    950: '#000000',
  },
}
SCSS
$custom: #180b44;
$custom-light: #5c4b79;
$custom-dark: #000000;
JSON
{
  "hex": "#180b44",
  "rgb": {
    "r": 24,
    "g": 11,
    "b": 68
  },
  "hsl": {
    "h": 253.684,
    "s": 72.152,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21499,
    "c": 0.0993,
    "h": 284.8
  },
  "luminance": 0.00851
}

Semantic roles & 50–950 ramp

primary
#180B44
secondary
#6D812A
accent
#EF39C5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #180B44

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

Preview Lab → · Contrast checker → · Palette generator →

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