#180437#180437

#180437 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.9% C 0.092 H 294.1°. Best body text is #FFFFFF at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#180437
RGBrgb(24, 4, 55)
HSLhsl(264, 86%, 12%)
HSVhsv(264, 93%, 22%)
CMYKcmyk(56.4%, 92.7%, 0%, 78.4%)
CIE-LABlab(5.03, 22.78, -28.30)
CIE-LCHlch(5.03, 36.33, 308.83°)
OKLaboklab(18.87% 0.0375 -0.0836)
OKLCHoklch(18.87% 0.092 294.1)
XYZxyz(1.1095, 0.5568, 3.6627)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180437 #233704
analogous
#040A37 #180437 #320437
triadic
#180437 #371804 #043718
tetradic
#180437 #37040A #233704 #043732
square
#180437 #37040A #233704 #043732
split-complementary
#180437 #373204 #0A3704
monochromatic
#0C021D #0C021D #180437 #310870 #4A0CA9

Accessibility & contrast

On white

18.90
#180437 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#180437 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180437
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180437#FFFFFF#000000##FFFFFF
##1804371.0018.901.1118.90
#FFFFFF18.901.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001138
Deuteranopia (green-blind)
#001036
Tritanopia (blue-blind)
#0E121D
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #180437;
/* rgb */ color: rgb(24, 4, 55);
/* oklch */ color: oklch(18.9% 0.092 294.1);
Tailwind
colors: {
  custom: {
    50: '#59476e',
    500: '#180437',
    950: '#000000',
  },
}
SCSS
$custom: #180437;
$custom-light: #59476e;
$custom-dark: #000000;
JSON
{
  "hex": "#180437",
  "rgb": {
    "r": 24,
    "g": 4,
    "b": 55
  },
  "hsl": {
    "h": 263.529,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.18867,
    "c": 0.09157,
    "h": 294.1
  },
  "luminance": 0.00557
}

Semantic roles & 50–950 ramp

primary
#180437
secondary
#55791E
accent
#FD2BAA
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #180437

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

Preview Lab → · Contrast checker → · Palette generator →

#180437 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva