#180E41#180E41

#180E41 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.7% C 0.091 H 284.8°. Best body text is #FFFFFF at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#180E41
RGBrgb(24, 14, 65)
HSLhsl(252, 65%, 15%)
HSVhsv(252, 78%, 25%)
CMYKcmyk(63.1%, 78.5%, 0%, 74.5%)
CIE-LABlab(8.04, 21.46, -30.62)
CIE-LCHlch(8.04, 37.39, 305.03°)
OKLaboklab(21.65% 0.0233 -0.0881)
OKLCHoklch(21.65% 0.091 284.8)
XYZxyz(1.4876, 0.8898, 5.0934)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180E41 #37410E
analogous
#0E1D41 #180E41 #310E41
triadic
#180E41 #41180E #0E4118
tetradic
#180E41 #410E1D #37410E #0E4131
square
#180E41 #410E1D #37410E #0E4131
split-complementary
#180E41 #41310E #1D410E
monochromatic
#090519 #090519 #180E41 #2B1973 #3D24A6

Accessibility & contrast

On white

17.83
#180E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#180E41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180E41
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180E41#FFFFFF#000000##FFFFFF
##180E411.0017.831.1817.83
#FFFFFF17.831.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001943
Deuteranopia (green-blind)
#001640
Tritanopia (blue-blind)
#061B26
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #180e41;
/* rgb */ color: rgb(24, 14, 65);
/* oklch */ color: oklch(21.7% 0.091 284.8);
Tailwind
colors: {
  custom: {
    50: '#5a4d76',
    500: '#180e41',
    950: '#000000',
  },
}
SCSS
$custom: #180e41;
$custom-light: #5a4d76;
$custom-dark: #000000;
JSON
{
  "hex": "#180e41",
  "rgb": {
    "r": 24,
    "g": 14,
    "b": 65
  },
  "hsl": {
    "h": 251.765,
    "s": 64.557,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21652,
    "c": 0.09111,
    "h": 284.8
  },
  "luminance": 0.0089
}

Semantic roles & 50–950 ramp

primary
#180E41
secondary
#6D7C2F
accent
#E840C7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #180E41

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

Preview Lab → · Contrast checker → · Palette generator →

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