#180A3A#180A3A

#180A3A is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.2% C 0.086 H 289.7°. Best body text is #FFFFFF at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#180A3A
RGBrgb(24, 10, 58)
HSLhsl(258, 71%, 13%)
HSVhsv(258, 83%, 23%)
CMYKcmyk(58.6%, 82.8%, 0%, 77.3%)
CIE-LABlab(6.47, 21.11, -28.15)
CIE-LCHlch(6.47, 35.19, 306.87°)
OKLaboklab(20.23% 0.0292 -0.0814)
OKLCHoklch(20.23% 0.086 289.7)
XYZxyz(1.2487, 0.7167, 4.0747)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180A3A #2C3A0A
analogous
#0A143A #180A3A #300A3A
triadic
#180A3A #3A180A #0A3A18
tetradic
#180A3A #3A0A14 #2C3A0A #0A3A30
square
#180A3A #3A0A14 #2C3A0A #0A3A30
split-complementary
#180A3A #3A300A #143A0A
monochromatic
#0B051A #0B051A #180A3A #2E136E #431CA2

Accessibility & contrast

On white

18.37
#180A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#180A3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180A3A
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180A3A#FFFFFF#000000##FFFFFF
##180A3A1.0018.371.1418.37
#FFFFFF18.371.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153B
Deuteranopia (green-blind)
#001339
Tritanopia (blue-blind)
#0C1721
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #180a3a;
/* rgb */ color: rgb(24, 10, 58);
/* oklch */ color: oklch(20.2% 0.086 289.7);
Tailwind
colors: {
  custom: {
    50: '#594a71',
    500: '#180a3a',
    950: '#000000',
  },
}
SCSS
$custom: #180a3a;
$custom-light: #594a71;
$custom-dark: #000000;
JSON
{
  "hex": "#180a3a",
  "rgb": {
    "r": 24,
    "g": 10,
    "b": 58
  },
  "hsl": {
    "h": 257.5,
    "s": 70.588,
    "l": 13.333
  },
  "oklch": {
    "l": 0.20234,
    "c": 0.08644,
    "h": 289.7
  },
  "luminance": 0.00717
}

Semantic roles & 50–950 ramp

primary
#180A3A
secondary
#607728
accent
#ED3AB9
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040107
muted
#79777A

Preview Lab

Preview with #180A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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