#180B2F#180B2F

#180B2F is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.3% C 0.069 H 295.9°. Best body text is #FFFFFF at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#180B2F
RGBrgb(24, 11, 47)
HSLhsl(262, 62%, 11%)
HSVhsv(262, 77%, 18%)
CMYKcmyk(48.9%, 76.6%, 0%, 81.6%)
CIE-LABlab(5.77, 16.07, -21.21)
CIE-LCHlch(5.77, 26.61, 307.14°)
OKLaboklab(19.29% 0.03 -0.0617)
OKLCHoklch(19.29% 0.069 295.9)
XYZxyz(1.0093, 0.6387, 2.7589)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180B2F #222F0B
analogous
#0B102F #180B2F #2A0B2F
triadic
#180B2F #2F180B #0B2F18
tetradic
#180B2F #2F0B10 #222F0B #0B2F2A
square
#180B2F #2F0B10 #222F0B #0B2F2A
split-complementary
#180B2F #2F2A0B #102F0B
monochromatic
#0D0619 #0D0619 #180B2F #311761 #4B2292

Accessibility & contrast

On white

18.62
#180B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180B2F
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180B2F#FFFFFF#000000##FFFFFF
##180B2F1.0018.621.1318.62
#FFFFFF18.621.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001330
Deuteranopia (green-blind)
#00122E
Tritanopia (blue-blind)
#12131B
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #180b2f;
/* rgb */ color: rgb(24, 11, 47);
/* oklch */ color: oklch(19.3% 0.069 295.9);
Tailwind
colors: {
  custom: {
    50: '#574b68',
    500: '#180b2f',
    950: '#000000',
  },
}
SCSS
$custom: #180b2f;
$custom-light: #574b68;
$custom-dark: #000000;
JSON
{
  "hex": "#180b2f",
  "rgb": {
    "r": 24,
    "g": 11,
    "b": 47
  },
  "hsl": {
    "h": 261.667,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.19292,
    "c": 0.06858,
    "h": 295.9
  },
  "luminance": 0.00639
}

Semantic roles & 50–950 ramp

primary
#180B2F
secondary
#546B2A
accent
#E543AA
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #180B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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