#180B2D#180B2D

#180B2D is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.1% C 0.066 H 297.4°. Best body text is #FFFFFF at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#180B2D
RGBrgb(24, 11, 45)
HSLhsl(263, 61%, 11%)
HSVhsv(263, 76%, 18%)
CMYKcmyk(46.7%, 75.6%, 0%, 82.4%)
CIE-LABlab(5.63, 15.23, -19.94)
CIE-LCHlch(5.63, 25.09, 307.37°)
OKLaboklab(19.11% 0.0302 -0.0581)
OKLCHoklch(19.11% 0.066 297.4)
XYZxyz(0.9699, 0.6230, 2.5513)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180B2D #202D0B
analogous
#0B0F2D #180B2D #290B2D
triadic
#180B2D #2D180B #0B2D18
tetradic
#180B2D #2D0B0F #202D0B #0B2D29
square
#180B2D #2D0B0F #202D0B #0B2D29
split-complementary
#180B2D #2D290B #0F2D0B
monochromatic
#0D0619 #0D0619 #180B2D #32175E #4C238F

Accessibility & contrast

On white

18.67
#180B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#180B2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180B2D
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180B2D#FFFFFF#000000##FFFFFF
##180B2D1.0018.671.1218.67
#FFFFFF18.671.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132E
Deuteranopia (green-blind)
#01122C
Tritanopia (blue-blind)
#13121A
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #180b2d;
/* rgb */ color: rgb(24, 11, 45);
/* oklch */ color: oklch(19.1% 0.066 297.4);
Tailwind
colors: {
  custom: {
    50: '#564b66',
    500: '#180b2d',
    950: '#000000',
  },
}
SCSS
$custom: #180b2d;
$custom-light: #564b66;
$custom-dark: #000000;
JSON
{
  "hex": "#180b2d",
  "rgb": {
    "r": 24,
    "g": 11,
    "b": 45
  },
  "hsl": {
    "h": 262.941,
    "s": 60.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.19106,
    "c": 0.0655,
    "h": 297.4
  },
  "luminance": 0.00623
}

Semantic roles & 50–950 ramp

primary
#180B2D
secondary
#51692A
accent
#E444A7
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #180B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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