#180A2D#180A2D

#180A2D is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.9% C 0.067 H 298.1°. Best body text is #FFFFFF at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#180A2D
RGBrgb(24, 10, 45)
HSLhsl(264, 64%, 11%)
HSVhsv(264, 78%, 18%)
CMYKcmyk(46.7%, 77.8%, 0%, 82.4%)
CIE-LABlab(5.43, 15.68, -20.26)
CIE-LCHlch(5.43, 25.62, 307.74°)
OKLaboklab(18.92% 0.0317 -0.0593)
OKLCHoklch(18.92% 0.067 298.1)
XYZxyz(0.9588, 0.6007, 2.5476)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180A2D #1F2D0A
analogous
#0A0D2D #180A2D #290A2D
triadic
#180A2D #2D180A #0A2D18
tetradic
#180A2D #2D0A0D #1F2D0A #0A2D29
square
#180A2D #2D0A0D #1F2D0A #0A2D29
split-complementary
#180A2D #2D290A #0D2D0A
monochromatic
#0D0619 #0D0619 #180A2D #33155F #4D2091

Accessibility & contrast

On white

18.75
#180A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180A2D
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180A2D#FFFFFF#000000##FFFFFF
##180A2D1.0018.751.1218.75
#FFFFFF18.751.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #180a2d;
/* rgb */ color: rgb(24, 10, 45);
/* oklch */ color: oklch(18.9% 0.067 298.1);
Tailwind
colors: {
  custom: {
    50: '#564b66',
    500: '#180a2d',
    950: '#000000',
  },
}
SCSS
$custom: #180a2d;
$custom-light: #564b66;
$custom-dark: #000000;
JSON
{
  "hex": "#180a2d",
  "rgb": {
    "r": 24,
    "g": 10,
    "b": 45
  },
  "hsl": {
    "h": 264,
    "s": 63.636,
    "l": 10.784
  },
  "oklch": {
    "l": 0.18919,
    "c": 0.06726,
    "h": 298.1
  },
  "luminance": 0.00601
}

Semantic roles & 50–950 ramp

primary
#180A2D
secondary
#506A29
accent
#E741A4
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #180A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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