#180539#180539

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

Color values

HEX#180539
RGBrgb(24, 5, 57)
HSLhsl(262, 84%, 12%)
HSVhsv(262, 91%, 22%)
CMYKcmyk(57.9%, 91.2%, 0%, 77.6%)
CIE-LABlab(5.40, 23.17, -29.16)
CIE-LCHlch(5.40, 37.25, 308.47°)
OKLaboklab(19.28% 0.0353 -0.0855)
OKLCHoklch(19.28% 0.092 292.5)
XYZxyz(1.1693, 0.5981, 3.9239)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180539 #263905
analogous
#050C39 #180539 #320539
triadic
#180539 #391805 #053918
tetradic
#180539 #39050C #263905 #053932
square
#180539 #39050C #263905 #053932
split-complementary
#180539 #393205 #0C3905
monochromatic
#0C021C #0C021C #180539 #300A71 #470FAA

Accessibility & contrast

On white

18.76
#180539 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180539
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180539#FFFFFF#000000##FFFFFF
##1805391.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133A
Deuteranopia (green-blind)
#001138
Tritanopia (blue-blind)
#0D131F
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #180539;
/* rgb */ color: rgb(24, 5, 57);
/* oklch */ color: oklch(19.3% 0.092 292.5);
Tailwind
colors: {
  custom: {
    50: '#594870',
    500: '#180539',
    950: '#000000',
  },
}
SCSS
$custom: #180539;
$custom-light: #594870;
$custom-dark: #000000;
JSON
{
  "hex": "#180539",
  "rgb": {
    "r": 24,
    "g": 5,
    "b": 57
  },
  "hsl": {
    "h": 261.923,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19281,
    "c": 0.09248,
    "h": 292.5
  },
  "luminance": 0.00598
}

Semantic roles & 50–950 ramp

primary
#180539
secondary
#597A20
accent
#FA2EAF
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #180539

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

Preview Lab → · Contrast checker → · Palette generator →

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