#180535#180535

#180535 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.8% C 0.087 H 295.0°. Best body text is #FFFFFF at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#180535
RGBrgb(24, 5, 53)
HSLhsl(264, 83%, 11%)
HSVhsv(264, 91%, 21%)
CMYKcmyk(54.7%, 90.6%, 0%, 79.2%)
CIE-LABlab(5.06, 21.42, -26.79)
CIE-LCHlch(5.06, 34.30, 308.64°)
OKLaboklab(18.82% 0.0369 -0.0791)
OKLCHoklch(18.82% 0.087 295)
XYZxyz(1.0734, 0.5597, 3.4190)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180535 #223505
analogous
#050A35 #180535 #300535
triadic
#180535 #351805 #053518
tetradic
#180535 #35050A #223505 #053530
square
#180535 #35050A #223505 #053530
split-complementary
#180535 #353005 #0A3505
monochromatic
#0D031C #0D031C #180535 #310A6D #4B10A5

Accessibility & contrast

On white

18.88
#180535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180535
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180535#FFFFFF#000000##FFFFFF
##1805351.0018.881.1118.88
#FFFFFF18.881.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001136
Deuteranopia (green-blind)
#001034
Tritanopia (blue-blind)
#10121C
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #180535;
/* rgb */ color: rgb(24, 5, 53);
/* oklch */ color: oklch(18.8% 0.087 295.0);
Tailwind
colors: {
  custom: {
    50: '#58486d',
    500: '#180535',
    950: '#000000',
  },
}
SCSS
$custom: #180535;
$custom-light: #58486d;
$custom-dark: #000000;
JSON
{
  "hex": "#180535",
  "rgb": {
    "r": 24,
    "g": 5,
    "b": 53
  },
  "hsl": {
    "h": 263.75,
    "s": 82.759,
    "l": 11.373
  },
  "oklch": {
    "l": 0.18822,
    "c": 0.08728,
    "h": 295
  },
  "luminance": 0.0056
}

Semantic roles & 50–950 ramp

primary
#180535
secondary
#547620
accent
#F92FA9
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030007
muted
#78777A

Preview Lab

Preview with #180535

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

Preview Lab → · Contrast checker → · Palette generator →

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