#180A2B#180A2B

#180A2B is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.7% C 0.064 H 299.7°. Best body text is #FFFFFF at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#180A2B
RGBrgb(24, 10, 43)
HSLhsl(265, 62%, 10%)
HSVhsv(265, 77%, 17%)
CMYKcmyk(44.2%, 76.7%, 0%, 83.1%)
CIE-LABlab(5.29, 14.83, -18.97)
CIE-LCHlch(5.29, 24.08, 308.02°)
OKLaboklab(18.73% 0.0318 -0.0558)
OKLCHoklch(18.73% 0.064 299.7)
XYZxyz(0.9212, 0.5857, 2.3495)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180A2B #1D2B0A
analogous
#0A0C2B #180A2B #280A2B
triadic
#180A2B #2B180A #0A2B18
tetradic
#180A2B #2B0A0C #1D2B0A #0A2B28
square
#180A2B #2B0A0C #1D2B0A #0A2B28
split-complementary
#180A2B #2B280A #0C2B0A
monochromatic
#0E0619 #0E0619 #180A2B #34165D #4F218E

Accessibility & contrast

On white

18.80
#180A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180A2B
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180A2B#FFFFFF#000000##FFFFFF
##180A2B1.0018.801.1218.80
#FFFFFF18.801.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122C
Deuteranopia (green-blind)
#02112A
Tritanopia (blue-blind)
#141119
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #180a2b;
/* rgb */ color: rgb(24, 10, 43);
/* oklch */ color: oklch(18.7% 0.064 299.7);
Tailwind
colors: {
  custom: {
    50: '#564b64',
    500: '#180a2b',
    950: '#000000',
  },
}
SCSS
$custom: #180a2b;
$custom-light: #564b64;
$custom-dark: #000000;
JSON
{
  "hex": "#180a2b",
  "rgb": {
    "r": 24,
    "g": 10,
    "b": 43
  },
  "hsl": {
    "h": 265.455,
    "s": 62.264,
    "l": 10.392
  },
  "oklch": {
    "l": 0.18734,
    "c": 0.06422,
    "h": 299.7
  },
  "luminance": 0.00586
}

Semantic roles & 50–950 ramp

primary
#180A2B
secondary
#4D6829
accent
#E542A0
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030105
muted
#78777A

Preview Lab

Preview with #180A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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