#180436#180436

#180436 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.8% C 0.090 H 294.8°. Best body text is #FFFFFF at 18.93:1 contrast (WCAG AA passes).

Color values

HEX#180436
RGBrgb(24, 4, 54)
HSLhsl(264, 86%, 11%)
HSVhsv(264, 93%, 21%)
CMYKcmyk(55.6%, 92.6%, 0%, 78.8%)
CIE-LABlab(4.94, 22.33, -27.71)
CIE-LCHlch(4.94, 35.59, 308.87°)
OKLaboklab(18.75% 0.0379 -0.082)
OKLCHoklch(18.75% 0.09 294.8)
XYZxyz(1.0858, 0.5473, 3.5378)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180436 #223604
analogous
#040936 #180436 #310436
triadic
#180436 #361804 #043618
tetradic
#180436 #360409 #223604 #043631
square
#180436 #360409 #223604 #043631
split-complementary
#180436 #363104 #093604
monochromatic
#0D021C #0D021C #180436 #31086F #4B0CA8

Accessibility & contrast

On white

18.93
#180436 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180436
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180436#FFFFFF#000000##FFFFFF
##1804361.0018.931.1118.93
#FFFFFF18.931.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001137
Deuteranopia (green-blind)
#001035
Tritanopia (blue-blind)
#0F121D
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #180436;
/* rgb */ color: rgb(24, 4, 54);
/* oklch */ color: oklch(18.8% 0.090 294.8);
Tailwind
colors: {
  custom: {
    50: '#58476d',
    500: '#180436',
    950: '#000000',
  },
}
SCSS
$custom: #180436;
$custom-light: #58476d;
$custom-dark: #000000;
JSON
{
  "hex": "#180436",
  "rgb": {
    "r": 24,
    "g": 4,
    "b": 54
  },
  "hsl": {
    "h": 264,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.18751,
    "c": 0.09031,
    "h": 294.8
  },
  "luminance": 0.00547
}

Semantic roles & 50–950 ramp

primary
#180436
secondary
#54781E
accent
#FC2BA9
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #180436

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

Preview Lab → · Contrast checker → · Palette generator →

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