#180327#180327

#180327 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.9% C 0.074 H 307.8°. Best body text is #FFFFFF at 19.42:1 contrast (WCAG AA passes).

Color values

HEX#180327
RGBrgb(24, 3, 39)
HSLhsl(275, 86%, 8%)
HSVhsv(275, 92%, 15%)
CMYKcmyk(38.5%, 92.3%, 0%, 84.7%)
CIE-LABlab(3.67, 15.96, -18.48)
CIE-LCHlch(3.67, 24.42, 310.82°)
OKLaboklab(16.9% 0.0452 -0.0582)
OKLCHoklch(16.9% 0.074 307.8)
XYZxyz(0.7754, 0.4058, 1.9565)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180327 #122703
analogous
#060327 #180327 #270324
triadic
#180327 #271803 #032718
tetradic
#180327 #270603 #122703 #032427
square
#180327 #270603 #122703 #032427
split-complementary
#180327 #242703 #032706
monochromatic
#11021C #11021C #180327 #3B0760 #5E0C99

Accessibility & contrast

On white

19.42
#180327 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#180327 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180327
19.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180327#FFFFFF#000000##FFFFFF
##1803271.0019.421.0819.42
#FFFFFF19.421.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C28
Deuteranopia (green-blind)
#000D26
Tritanopia (blue-blind)
#160A14
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #180327;
/* rgb */ color: rgb(24, 3, 39);
/* oklch */ color: oklch(16.9% 0.074 307.8);
Tailwind
colors: {
  custom: {
    50: '#554761',
    500: '#180327',
    950: '#000000',
  },
}
SCSS
$custom: #180327;
$custom-light: #554761;
$custom-dark: #000000;
JSON
{
  "hex": "#180327",
  "rgb": {
    "r": 24,
    "g": 3,
    "b": 39
  },
  "hsl": {
    "h": 275,
    "s": 85.714,
    "l": 8.235
  },
  "oklch": {
    "l": 0.16897,
    "c": 0.07371,
    "h": 307.8
  },
  "luminance": 0.00406
}

Semantic roles & 50–950 ramp

primary
#180327
secondary
#3C6B1B
accent
#FC2C83
background
#F5F4F5
surface
#E8E6E9
border
#C4C2C5
text
#030005
muted
#787779

Preview Lab

Preview with #180327

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

Preview Lab → · Contrast checker → · Palette generator →

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