#180439#180439

#180439 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.1% C 0.094 H 292.9°. Best body text is #FFFFFF at 18.83:1 contrast (WCAG AA passes).

Color values

HEX#180439
RGBrgb(24, 4, 57)
HSLhsl(263, 87%, 12%)
HSVhsv(263, 93%, 22%)
CMYKcmyk(57.9%, 93%, 0%, 77.6%)
CIE-LABlab(5.21, 23.66, -29.48)
CIE-LCHlch(5.21, 37.80, 308.75°)
OKLaboklab(19.1% 0.0366 -0.0867)
OKLCHoklch(19.1% 0.094 292.9)
XYZxyz(1.1584, 0.5764, 3.9203)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180439 #253904
analogous
#040A39 #180439 #330439
triadic
#180439 #391804 #043918
tetradic
#180439 #39040A #253904 #043933
square
#180439 #39040A #253904 #043933
split-complementary
#180439 #393304 #0A3904
monochromatic
#0C021D #0C021D #180439 #300872 #480CAB

Accessibility & contrast

On white

18.83
#180439 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#180439 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180439
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180439#FFFFFF#000000##FFFFFF
##1804391.0018.831.1218.83
#FFFFFF18.831.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123A
Deuteranopia (green-blind)
#001038
Tritanopia (blue-blind)
#0D131E
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #180439;
/* rgb */ color: rgb(24, 4, 57);
/* oklch */ color: oklch(19.1% 0.094 292.9);
Tailwind
colors: {
  custom: {
    50: '#594770',
    500: '#180439',
    950: '#000000',
  },
}
SCSS
$custom: #180439;
$custom-light: #594770;
$custom-dark: #000000;
JSON
{
  "hex": "#180439",
  "rgb": {
    "r": 24,
    "g": 4,
    "b": 57
  },
  "hsl": {
    "h": 262.642,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19103,
    "c": 0.0941,
    "h": 292.9
  },
  "luminance": 0.00576
}

Semantic roles & 50–950 ramp

primary
#180439
secondary
#587B1E
accent
#FD2BAE
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #180439

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

Preview Lab → · Contrast checker → · Palette generator →

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