#180A3B#180A3B

#180A3B is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.3% C 0.088 H 289.2°. Best body text is #FFFFFF at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#180A3B
RGBrgb(24, 10, 59)
HSLhsl(257, 71%, 14%)
HSVhsv(257, 83%, 23%)
CMYKcmyk(59.3%, 83.1%, 0%, 76.9%)
CIE-LABlab(6.57, 21.51, -28.72)
CIE-LCHlch(6.57, 35.88, 306.83°)
OKLaboklab(20.34% 0.0289 -0.083)
OKLCHoklch(20.34% 0.088 289.2)
XYZxyz(1.2744, 0.7270, 4.2100)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180A3B #2D3B0A
analogous
#0A143B #180A3B #300A3B
triadic
#180A3B #3B180A #0A3B18
tetradic
#180A3B #3B0A14 #2D3B0A #0A3B30
square
#180A3B #3B0A14 #2D3B0A #0A3B30
split-complementary
#180A3B #3B300A #143B0A
monochromatic
#0B041A #0B041A #180A3B #2D136F #431CA4

Accessibility & contrast

On white

18.33
#180A3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#180A3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180A3B
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180A3B#FFFFFF#000000##FFFFFF
##180A3B1.0018.331.1518.33
#FFFFFF18.331.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163C
Deuteranopia (green-blind)
#00133A
Tritanopia (blue-blind)
#0B1721
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #180a3b;
/* rgb */ color: rgb(24, 10, 59);
/* oklch */ color: oklch(20.3% 0.088 289.2);
Tailwind
colors: {
  custom: {
    50: '#594a71',
    500: '#180a3b',
    950: '#000000',
  },
}
SCSS
$custom: #180a3b;
$custom-light: #594a71;
$custom-dark: #000000;
JSON
{
  "hex": "#180a3b",
  "rgb": {
    "r": 24,
    "g": 10,
    "b": 59
  },
  "hsl": {
    "h": 257.143,
    "s": 71.014,
    "l": 13.529
  },
  "oklch": {
    "l": 0.20342,
    "c": 0.08787,
    "h": 289.2
  },
  "luminance": 0.00727
}

Semantic roles & 50–950 ramp

primary
#180A3B
secondary
#627828
accent
#EE3ABA
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040108
muted
#79777B

Preview Lab

Preview with #180A3B

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

Preview Lab → · Contrast checker → · Palette generator →

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