#180A3D#180A3D

#180A3D is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.6% C 0.091 H 288.2°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#180A3D
RGBrgb(24, 10, 61)
HSLhsl(256, 72%, 14%)
HSVhsv(256, 84%, 24%)
CMYKcmyk(60.7%, 83.6%, 0%, 76.1%)
CIE-LABlab(6.76, 22.31, -29.85)
CIE-LCHlch(6.76, 37.27, 306.78°)
OKLaboklab(20.56% 0.0284 -0.0862)
OKLCHoklch(20.56% 0.091 288.2)
XYZxyz(1.3273, 0.7481, 4.4884)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180A3D #2F3D0A
analogous
#0A163D #180A3D #320A3D
triadic
#180A3D #3D180A #0A3D18
tetradic
#180A3D #3D0A16 #2F3D0A #0A3D32
square
#180A3D #3D0A16 #2F3D0A #0A3D32
split-complementary
#180A3D #3D320A #163D0A
monochromatic
#0A041A #0A041A #180A3D #2D1372 #411BA6

Accessibility & contrast

On white

18.27
#180A3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180A3D
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180A3D#FFFFFF#000000##FFFFFF
##180A3D1.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163E
Deuteranopia (green-blind)
#00143C
Tritanopia (blue-blind)
#0A1822
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #180a3d;
/* rgb */ color: rgb(24, 10, 61);
/* oklch */ color: oklch(20.6% 0.091 288.2);
Tailwind
colors: {
  custom: {
    50: '#5a4a73',
    500: '#180a3d',
    950: '#000000',
  },
}
SCSS
$custom: #180a3d;
$custom-light: #5a4a73;
$custom-dark: #000000;
JSON
{
  "hex": "#180a3d",
  "rgb": {
    "r": 24,
    "g": 10,
    "b": 61
  },
  "hsl": {
    "h": 256.471,
    "s": 71.831,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20561,
    "c": 0.09072,
    "h": 288.2
  },
  "luminance": 0.00748
}

Semantic roles & 50–950 ramp

primary
#180A3D
secondary
#647A28
accent
#EF39BD
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #180A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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