#180636#180636

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

Color values

HEX#180636
RGBrgb(24, 6, 54)
HSLhsl(263, 80%, 12%)
HSVhsv(263, 89%, 21%)
CMYKcmyk(55.6%, 88.9%, 0%, 78.8%)
CIE-LABlab(5.34, 21.39, -27.08)
CIE-LCHlch(5.34, 34.51, 308.31°)
OKLaboklab(19.12% 0.0352 -0.0795)
OKLCHoklch(19.12% 0.087 293.9)
XYZxyz(1.1075, 0.5907, 3.5450)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180636 #243606
analogous
#060C36 #180636 #300636
triadic
#180636 #361806 #063618
tetradic
#180636 #36060C #243606 #063630
square
#180636 #36060C #243606 #063630
split-complementary
#180636 #363006 #0C3606
monochromatic
#0C031C #0C031C #180636 #300C6D #4912A4

Accessibility & contrast

On white

18.78
#180636 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180636
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180636#FFFFFF#000000##FFFFFF
##1806361.0018.781.1218.78
#FFFFFF18.781.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001237
Deuteranopia (green-blind)
#001135
Tritanopia (blue-blind)
#0F131D
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #180636;
/* rgb */ color: rgb(24, 6, 54);
/* oklch */ color: oklch(19.1% 0.087 293.9);
Tailwind
colors: {
  custom: {
    50: '#58486d',
    500: '#180636',
    950: '#000000',
  },
}
SCSS
$custom: #180636;
$custom-light: #58486d;
$custom-dark: #000000;
JSON
{
  "hex": "#180636",
  "rgb": {
    "r": 24,
    "g": 6,
    "b": 54
  },
  "hsl": {
    "h": 262.5,
    "s": 80,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19117,
    "c": 0.08691,
    "h": 293.9
  },
  "luminance": 0.00591
}

Semantic roles & 50–950 ramp

primary
#180636
secondary
#577621
accent
#F631AD
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040007
muted
#79777A

Preview Lab

Preview with #180636

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

Preview Lab → · Contrast checker → · Palette generator →

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