#140131#140131

#140131 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.0% C 0.090 H 294.4°. Best body text is #FFFFFF at 19.47:1 contrast (WCAG AA passes).

Color values

HEX#140131
RGBrgb(20, 1, 49)
HSLhsl(264, 96%, 10%)
HSVhsv(264, 98%, 19%)
CMYKcmyk(59.2%, 98%, 0%, 80.8%)
CIE-LABlab(3.54, 19.69, -26.28)
CIE-LCHlch(3.54, 32.84, 306.85°)
OKLaboklab(16.96% 0.0371 -0.0816)
OKLCHoklch(16.96% 0.09 294.4)
XYZxyz(0.8536, 0.3922, 2.9359)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140131 #1E3101
analogous
#010631 #140131 #2C0131
triadic
#140131 #311401 #013114
tetradic
#140131 #310106 #1E3101 #01312C
square
#140131 #310106 #1E3101 #01312C
split-complementary
#140131 #312C01 #063101
monochromatic
#0C011E #0C011E #140131 #2C026D #4503A9

Accessibility & contrast

On white

19.47
#140131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#140131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140131
19.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140131#FFFFFF#000000##FFFFFF
##1401311.0019.471.0819.47
#FFFFFF19.471.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D32
Deuteranopia (green-blind)
#000C30
Tritanopia (blue-blind)
#0B0E19
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #140131;
/* rgb */ color: rgb(20, 1, 49);
/* oklch */ color: oklch(17.0% 0.090 294.4);
Tailwind
colors: {
  custom: {
    50: '#544669',
    500: '#140131',
    950: '#000000',
  },
}
SCSS
$custom: #140131;
$custom-light: #544669;
$custom-dark: #000000;
JSON
{
  "hex": "#140131",
  "rgb": {
    "r": 20,
    "g": 1,
    "b": 49
  },
  "hsl": {
    "h": 263.75,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.16956,
    "c": 0.08966,
    "h": 294.4
  },
  "luminance": 0.00392
}

Semantic roles & 50–950 ramp

primary
#140131
secondary
#517717
accent
#FF29AA
background
#F5F3F6
surface
#E8E5EB
border
#C4C1C6
text
#030006
muted
#78777A

Preview Lab

Preview with #140131

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

Preview Lab → · Contrast checker → · Palette generator →

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