#180B30#180B30

#180B30 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.4% C 0.070 H 295.2°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#180B30
RGBrgb(24, 11, 48)
HSLhsl(261, 63%, 12%)
HSVhsv(261, 77%, 19%)
CMYKcmyk(50%, 77.1%, 0%, 81.2%)
CIE-LABlab(5.84, 16.48, -21.83)
CIE-LCHlch(5.84, 27.36, 307.05°)
OKLaboklab(19.39% 0.0299 -0.0634)
OKLCHoklch(19.39% 0.07 295.2)
XYZxyz(1.0297, 0.6469, 2.8663)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180B30 #23300B
analogous
#0B1130 #180B30 #2B0B30
triadic
#180B30 #30180B #0B3018
tetradic
#180B30 #300B11 #23300B #0B302B
square
#180B30 #300B11 #23300B #0B302B
split-complementary
#180B30 #302B0B #11300B
monochromatic
#0C0619 #0C0619 #180B30 #311662 #4A2294

Accessibility & contrast

On white

18.59
#180B30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#180B30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180B30
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180B30#FFFFFF#000000##FFFFFF
##180B301.0018.591.1318.59
#FFFFFF18.591.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001331
Deuteranopia (green-blind)
#00122F
Tritanopia (blue-blind)
#12141C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #180b30;
/* rgb */ color: rgb(24, 11, 48);
/* oklch */ color: oklch(19.4% 0.070 295.2);
Tailwind
colors: {
  custom: {
    50: '#574b68',
    500: '#180b30',
    950: '#000000',
  },
}
SCSS
$custom: #180b30;
$custom-light: #574b68;
$custom-dark: #000000;
JSON
{
  "hex": "#180b30",
  "rgb": {
    "r": 24,
    "g": 11,
    "b": 48
  },
  "hsl": {
    "h": 261.081,
    "s": 62.712,
    "l": 11.569
  },
  "oklch": {
    "l": 0.19387,
    "c": 0.07011,
    "h": 295.2
  },
  "luminance": 0.00647
}

Semantic roles & 50–950 ramp

primary
#180B30
secondary
#556D2A
accent
#E642AC
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #180B30

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

Preview Lab → · Contrast checker → · Palette generator →

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