#140127#140127

#140127 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.7% C 0.078 H 302.9°. Best body text is #FFFFFF at 19.75:1 contrast (WCAG AA passes).

Color values

HEX#140127
RGBrgb(20, 1, 39)
HSLhsl(270, 95%, 8%)
HSVhsv(270, 97%, 15%)
CMYKcmyk(48.7%, 97.4%, 0%, 84.7%)
CIE-LABlab(2.86, 14.92, -19.76)
CIE-LCHlch(2.86, 24.76, 307.06°)
OKLaboklab(15.73% 0.0424 -0.0655)
OKLCHoklch(15.73% 0.078 302.9)
XYZxyz(0.6655, 0.3169, 1.9452)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140127 #142701
analogous
#010127 #140127 #270127
triadic
#140127 #271401 #012714
tetradic
#140127 #270101 #142701 #012727
square
#140127 #270101 #142701 #012727
split-complementary
#140127 #272701 #012701
monochromatic
#0F011E #0F011E #140127 #330363 #51049E

Accessibility & contrast

On white

19.75
#140127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140127
19.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140127#FFFFFF#000000##FFFFFF
##1401271.0019.751.0619.75
#FFFFFF19.751.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #140127;
/* rgb */ color: rgb(20, 1, 39);
/* oklch */ color: oklch(15.7% 0.078 302.9);
Tailwind
colors: {
  custom: {
    50: '#514761',
    500: '#140127',
    950: '#000000',
  },
}
SCSS
$custom: #140127;
$custom-light: #514761;
$custom-dark: #000000;
JSON
{
  "hex": "#140127",
  "rgb": {
    "r": 20,
    "g": 1,
    "b": 39
  },
  "hsl": {
    "h": 270,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.15726,
    "c": 0.07797,
    "h": 302.9
  },
  "luminance": 0.00317
}

Semantic roles & 50–950 ramp

primary
#140127
secondary
#426E16
accent
#FF2994
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#020005
muted
#787779

Preview Lab

Preview with #140127

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

Preview Lab → · Contrast checker → · Palette generator →

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