#180927#180927

#180927 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.2% C 0.060 H 304.1°. Best body text is #FFFFFF at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#180927
RGBrgb(24, 9, 39)
HSLhsl(270, 63%, 9%)
HSVhsv(270, 77%, 15%)
CMYKcmyk(38.5%, 76.9%, 0%, 84.7%)
CIE-LABlab(4.84, 13.56, -16.64)
CIE-LCHlch(4.84, 21.47, 309.17°)
OKLaboklab(18.18% 0.0337 -0.0497)
OKLCHoklch(18.18% 0.06 304.1)
XYZxyz(0.8405, 0.5361, 1.9783)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180927 #182709
analogous
#090927 #180927 #270927
triadic
#180927 #271809 #092718
tetradic
#180927 #270909 #182709 #092727
square
#180927 #270909 #182709 #092727
split-complementary
#180927 #272709 #092709
monochromatic
#0F0619 #0F0619 #180927 #371459 #55208A

Accessibility & contrast

On white

18.97
#180927 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180927
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180927#FFFFFF#000000##FFFFFF
##1809271.0018.971.1118.97
#FFFFFF18.971.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001028
Deuteranopia (green-blind)
#041026
Tritanopia (blue-blind)
#150F16
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #180927;
/* rgb */ color: rgb(24, 9, 39);
/* oklch */ color: oklch(18.2% 0.060 304.1);
Tailwind
colors: {
  custom: {
    50: '#554a61',
    500: '#180927',
    950: '#000000',
  },
}
SCSS
$custom: #180927;
$custom-light: #554a61;
$custom-dark: #000000;
JSON
{
  "hex": "#180927",
  "rgb": {
    "r": 24,
    "g": 9,
    "b": 39
  },
  "hsl": {
    "h": 270,
    "s": 62.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.18183,
    "c": 0.06006,
    "h": 304.1
  },
  "luminance": 0.00536
}

Semantic roles & 50–950 ramp

primary
#180927
secondary
#466427
accent
#E64294
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#030105
muted
#787779

Preview Lab

Preview with #180927

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

Preview Lab → · Contrast checker → · Palette generator →

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