#180627#180627

#180627 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.6% C 0.066 H 306.0°. Best body text is #FFFFFF at 19.19:1 contrast (WCAG AA passes).

Color values

HEX#180627
RGBrgb(24, 6, 39)
HSLhsl(273, 73%, 9%)
HSVhsv(273, 85%, 15%)
CMYKcmyk(38.5%, 84.6%, 0%, 84.7%)
CIE-LABlab(4.25, 14.76, -17.56)
CIE-LCHlch(4.25, 22.94, 310.05°)
OKLaboklab(17.56% 0.0391 -0.0538)
OKLCHoklch(17.56% 0.066 306)
XYZxyz(0.8079, 0.4709, 1.9674)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180627 #152706
analogous
#080627 #180627 #270626
triadic
#180627 #271806 #062718
tetradic
#180627 #270806 #152706 #062627
square
#180627 #270806 #152706 #062627
split-complementary
#180627 #262706 #062708
monochromatic
#10041B #10041B #180627 #390E5C #591691

Accessibility & contrast

On white

19.19
#180627 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#180627 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180627
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180627#FFFFFF#000000##FFFFFF
##1806271.0019.191.0919.19
#FFFFFF19.191.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E28
Deuteranopia (green-blind)
#010F26
Tritanopia (blue-blind)
#150D15
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #180627;
/* rgb */ color: rgb(24, 6, 39);
/* oklch */ color: oklch(17.6% 0.066 306.0);
Tailwind
colors: {
  custom: {
    50: '#554961',
    500: '#180627',
    950: '#000000',
  },
}
SCSS
$custom: #180627;
$custom-light: #554961;
$custom-dark: #000000;
JSON
{
  "hex": "#180627",
  "rgb": {
    "r": 24,
    "g": 6,
    "b": 39
  },
  "hsl": {
    "h": 272.727,
    "s": 73.333,
    "l": 8.824
  },
  "oklch": {
    "l": 0.17564,
    "c": 0.06649,
    "h": 306
  },
  "luminance": 0.00471
}

Semantic roles & 50–950 ramp

primary
#180627
secondary
#416821
accent
#F0388C
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#030005
muted
#787779

Preview Lab

Preview with #180627

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

Preview Lab → · Contrast checker → · Palette generator →

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