#140027#140027

#140027 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.5% C 0.081 H 303.6°. Best body text is #FFFFFF at 19.83:1 contrast (WCAG AA passes).

Color values

HEX#140027
RGBrgb(20, 0, 39)
HSLhsl(271, 100%, 8%)
HSVhsv(271, 100%, 15%)
CMYKcmyk(48.7%, 100%, 0%, 84.7%)
CIE-LABlab(2.67, 15.32, -20.07)
CIE-LCHlch(2.67, 25.25, 307.36°)
OKLaboklab(15.46% 0.0448 -0.0673)
OKLCHoklch(15.46% 0.081 303.6)
XYZxyz(0.6546, 0.2952, 1.9416)
Luminance0.0029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140027 #132700
analogous
#000027 #140027 #270026
triadic
#140027 #271400 #002714
tetradic
#140027 #270000 #132700 #002627
square
#140027 #270000 #132700 #002627
split-complementary
#140027 #262700 #002700
monochromatic
#10001F #10001F #140027 #330064 #5300A1

Accessibility & contrast

On white

19.83
#140027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#140027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140027
19.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140027#FFFFFF#000000##FFFFFF
##1400271.0019.831.0619.83
#FFFFFF19.831.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000928
Deuteranopia (green-blind)
#000A26
Tritanopia (blue-blind)
#100812
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #140027;
/* rgb */ color: rgb(20, 0, 39);
/* oklch */ color: oklch(15.5% 0.081 303.6);
Tailwind
colors: {
  custom: {
    50: '#514661',
    500: '#140027',
    950: '#000000',
  },
}
SCSS
$custom: #140027;
$custom-light: #514661;
$custom-dark: #000000;
JSON
{
  "hex": "#140027",
  "rgb": {
    "r": 20,
    "g": 0,
    "b": 39
  },
  "hsl": {
    "h": 270.769,
    "s": 100,
    "l": 7.647
  },
  "oklch": {
    "l": 0.15455,
    "c": 0.08088,
    "h": 303.6
  },
  "luminance": 0.00295
}

Semantic roles & 50–950 ramp

primary
#140027
secondary
#406F14
accent
#FF2991
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#020005
muted
#787779

Preview Lab

Preview with #140027

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

Preview Lab → · Contrast checker → · Palette generator →

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