#140331#140331

#140331 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.4% C 0.086 H 293.3°. Best body text is #FFFFFF at 19.32:1 contrast (WCAG AA passes).

Color values

HEX#140331
RGBrgb(20, 3, 49)
HSLhsl(262, 88%, 10%)
HSVhsv(262, 94%, 19%)
CMYKcmyk(59.2%, 93.9%, 0%, 80.8%)
CIE-LABlab(3.93, 18.88, -25.65)
CIE-LCHlch(3.93, 31.85, 306.35°)
OKLaboklab(17.4% 0.0338 -0.0786)
OKLCHoklch(17.4% 0.086 293.3)
XYZxyz(0.8753, 0.4356, 2.9431)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140331 #203103
analogous
#030931 #140331 #2B0331
triadic
#140331 #311403 #033114
tetradic
#140331 #310309 #203103 #03312B
square
#140331 #310309 #203103 #03312B
split-complementary
#140331 #312B03 #093103
monochromatic
#0C021D #0C021D #140331 #2C076B #430AA4

Accessibility & contrast

On white

19.32
#140331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#140331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140331
19.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140331#FFFFFF#000000##FFFFFF
##1403311.0019.321.0919.32
#FFFFFF19.321.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E32
Deuteranopia (green-blind)
#000D30
Tritanopia (blue-blind)
#0B0F19
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #140331;
/* rgb */ color: rgb(20, 3, 49);
/* oklch */ color: oklch(17.4% 0.086 293.3);
Tailwind
colors: {
  custom: {
    50: '#544769',
    500: '#140331',
    950: '#000000',
  },
}
SCSS
$custom: #140331;
$custom-light: #544769;
$custom-dark: #000000;
JSON
{
  "hex": "#140331",
  "rgb": {
    "r": 20,
    "g": 3,
    "b": 49
  },
  "hsl": {
    "h": 262.174,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.174,
    "c": 0.08554,
    "h": 293.3
  },
  "luminance": 0.00436
}

Semantic roles & 50–950 ramp

primary
#140331
secondary
#54741B
accent
#FF29B0
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #140331

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

Preview Lab → · Contrast checker → · Palette generator →

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