#140128#140128

#140128 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.8% C 0.079 H 301.9°. Best body text is #FFFFFF at 19.72:1 contrast (WCAG AA passes).

Color values

HEX#140128
RGBrgb(20, 1, 40)
HSLhsl(269, 95%, 8%)
HSVhsv(269, 98%, 16%)
CMYKcmyk(50%, 97.5%, 0%, 84.3%)
CIE-LABlab(2.92, 15.35, -20.44)
CIE-LCHlch(2.92, 25.56, 306.91°)
OKLaboklab(15.84% 0.0419 -0.0671)
OKLCHoklch(15.84% 0.079 301.9)
XYZxyz(0.6823, 0.3236, 2.0336)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140128 #152801
analogous
#010128 #140128 #270128
triadic
#140128 #281401 #012814
tetradic
#140128 #280101 #152801 #012827
square
#140128 #280101 #152801 #012827
split-complementary
#140128 #282701 #012801
monochromatic
#0F011E #0F011E #140128 #320264 #50049F

Accessibility & contrast

On white

19.72
#140128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140128
19.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140128#FFFFFF#000000##FFFFFF
##1401281.0019.721.0619.72
#FFFFFF19.721.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A29
Deuteranopia (green-blind)
#000A27
Tritanopia (blue-blind)
#0F0913
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #140128;
/* rgb */ color: rgb(20, 1, 40);
/* oklch */ color: oklch(15.8% 0.079 301.9);
Tailwind
colors: {
  custom: {
    50: '#514762',
    500: '#140128',
    950: '#000000',
  },
}
SCSS
$custom: #140128;
$custom-light: #514762;
$custom-dark: #000000;
JSON
{
  "hex": "#140128",
  "rgb": {
    "r": 20,
    "g": 1,
    "b": 40
  },
  "hsl": {
    "h": 269.231,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.15844,
    "c": 0.07913,
    "h": 301.9
  },
  "luminance": 0.00324
}

Semantic roles & 50–950 ramp

primary
#140128
secondary
#446F16
accent
#FF2997
background
#F4F3F5
surface
#E7E5EA
border
#C3C1C6
text
#020005
muted
#787779

Preview Lab

Preview with #140128

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

Preview Lab → · Contrast checker → · Palette generator →

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