#180B33#180B33

#180B33 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.7% C 0.075 H 293.2°. Best body text is #FFFFFF at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#180B33
RGBrgb(24, 11, 51)
HSLhsl(260, 65%, 12%)
HSVhsv(260, 78%, 20%)
CMYKcmyk(52.9%, 78.4%, 0%, 80%)
CIE-LABlab(6.07, 17.73, -23.68)
CIE-LCHlch(6.07, 29.59, 306.82°)
OKLaboklab(19.68% 0.0295 -0.0686)
OKLCHoklch(19.68% 0.075 293.2)
XYZxyz(1.0937, 0.6725, 3.2035)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180B33 #26330B
analogous
#0B1233 #180B33 #2C0B33
triadic
#180B33 #33180B #0B3318
tetradic
#180B33 #330B12 #26330B #0B332C
square
#180B33 #330B12 #26330B #0B332C
split-complementary
#180B33 #332C0B #12330B
monochromatic
#0C0519 #0C0519 #180B33 #301665 #472198

Accessibility & contrast

On white

18.51
#180B33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180B33
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180B33#FFFFFF#000000##FFFFFF
##180B331.0018.511.1318.51
#FFFFFF18.511.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001434
Deuteranopia (green-blind)
#001332
Tritanopia (blue-blind)
#10151D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #180b33;
/* rgb */ color: rgb(24, 11, 51);
/* oklch */ color: oklch(19.7% 0.075 293.2);
Tailwind
colors: {
  custom: {
    50: '#574b6b',
    500: '#180b33',
    950: '#000000',
  },
}
SCSS
$custom: #180b33;
$custom-light: #574b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#180b33",
  "rgb": {
    "r": 24,
    "g": 11,
    "b": 51
  },
  "hsl": {
    "h": 259.5,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19679,
    "c": 0.07466,
    "h": 293.2
  },
  "luminance": 0.00673
}

Semantic roles & 50–950 ramp

primary
#180B33
secondary
#59702A
accent
#E840B1
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #180B33

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

Preview Lab → · Contrast checker → · Palette generator →

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