#180127#180127

#180127 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.4% C 0.079 H 309.0°. Best body text is #FFFFFF at 19.58:1 contrast (WCAG AA passes).

Color values

HEX#180127
RGBrgb(24, 1, 39)
HSLhsl(276, 95%, 8%)
HSVhsv(276, 97%, 15%)
CMYKcmyk(38.5%, 97.4%, 0%, 84.7%)
CIE-LABlab(3.27, 16.76, -19.09)
CIE-LCHlch(3.27, 25.41, 311.29°)
OKLaboklab(16.42% 0.0498 -0.0615)
OKLCHoklch(16.42% 0.079 309)
XYZxyz(0.7537, 0.3624, 1.9493)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180127 #102701
analogous
#050127 #180127 #270123
triadic
#180127 #271801 #012718
tetradic
#180127 #270501 #102701 #012327
square
#180127 #270501 #102701 #012327
split-complementary
#180127 #232701 #012705
monochromatic
#12011E #12011E #180127 #3D0363 #61049E

Accessibility & contrast

On white

19.58
#180127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#180127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180127
19.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180127#FFFFFF#000000##FFFFFF
##1801271.0019.581.0719.58
#FFFFFF19.581.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B28
Deuteranopia (green-blind)
#000C26
Tritanopia (blue-blind)
#160813
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #180127;
/* rgb */ color: rgb(24, 1, 39);
/* oklch */ color: oklch(16.4% 0.079 309.0);
Tailwind
colors: {
  custom: {
    50: '#554661',
    500: '#180127',
    950: '#000000',
  },
}
SCSS
$custom: #180127;
$custom-light: #554661;
$custom-dark: #000000;
JSON
{
  "hex": "#180127",
  "rgb": {
    "r": 24,
    "g": 1,
    "b": 39
  },
  "hsl": {
    "h": 276.316,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.16421,
    "c": 0.07909,
    "h": 309
  },
  "luminance": 0.00362
}

Semantic roles & 50–950 ramp

primary
#180127
secondary
#396E16
accent
#FF297D
background
#F5F3F5
surface
#E8E5E9
border
#C4C1C5
text
#030005
muted
#787779

Preview Lab

Preview with #180127

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

Preview Lab → · Contrast checker → · Palette generator →

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