#180E4A#180E4A

#180E4A is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.6% C 0.104 H 281.8°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#180E4A
RGBrgb(24, 14, 74)
HSLhsl(250, 68%, 17%)
HSVhsv(250, 81%, 29%)
CMYKcmyk(67.6%, 81.1%, 0%, 71%)
CIE-LABlab(9.01, 24.70, -35.35)
CIE-LCHlch(9.01, 43.12, 304.94°)
OKLaboklab(22.64% 0.0212 -0.1019)
OKLCHoklch(22.64% 0.104 281.8)
XYZxyz(1.7694, 1.0026, 6.5775)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180E4A #404A0E
analogous
#0E224A #180E4A #360E4A
triadic
#180E4A #4A180E #0E4A18
tetradic
#180E4A #4A0E22 #404A0E #0E4A36
square
#180E4A #4A0E22 #404A0E #0E4A36
split-complementary
#180E4A #4A360E #224A0E
monochromatic
#08051A #08051A #180E4A #29187D #3921B1

Accessibility & contrast

On white

17.49
#180E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#180E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180E4A
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180E4A#FFFFFF#000000##FFFFFF
##180E4A1.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4C
Deuteranopia (green-blind)
#001749
Tritanopia (blue-blind)
#001F2B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #180e4a;
/* rgb */ color: rgb(24, 14, 74);
/* oklch */ color: oklch(22.6% 0.104 281.8);
Tailwind
colors: {
  custom: {
    50: '#5d4d7d',
    500: '#180e4a',
    950: '#000000',
  },
}
SCSS
$custom: #180e4a;
$custom-light: #5d4d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#180e4a",
  "rgb": {
    "r": 24,
    "g": 14,
    "b": 74
  },
  "hsl": {
    "h": 250,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.22644,
    "c": 0.10412,
    "h": 281.8
  },
  "luminance": 0.01003
}

Semantic roles & 50–950 ramp

primary
#180E4A
secondary
#77852F
accent
#EB3DCE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #180E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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