#140640#140640

#140640 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.8% C 0.101 H 283.8°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#140640
RGBrgb(20, 6, 64)
HSLhsl(254, 83%, 14%)
HSVhsv(254, 91%, 25%)
CMYKcmyk(68.8%, 90.6%, 0%, 74.9%)
CIE-LABlab(5.86, 24.68, -33.48)
CIE-LCHlch(5.86, 41.59, 306.40°)
OKLaboklab(19.82% 0.024 -0.0976)
OKLCHoklch(19.82% 0.101 283.8)
XYZxyz(1.2787, 0.6491, 4.9074)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140640 #324006
analogous
#061540 #140640 #310640
triadic
#140640 #401406 #064014
tetradic
#140640 #400615 #324006 #064031
square
#140640 #400615 #324006 #064031
split-complementary
#140640 #403106 #154006
monochromatic
#09031C #09031C #140640 #250B78 #3710B0

Accessibility & contrast

On white

18.59
#140640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#140640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140640
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140640#FFFFFF#000000##FFFFFF
##1406401.0018.591.1318.59
#FFFFFF18.591.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001542
Deuteranopia (green-blind)
#00113F
Tritanopia (blue-blind)
#001723
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #140640;
/* rgb */ color: rgb(20, 6, 64);
/* oklch */ color: oklch(19.8% 0.101 283.8);
Tailwind
colors: {
  custom: {
    50: '#594876',
    500: '#140640',
    950: '#000000',
  },
}
SCSS
$custom: #140640;
$custom-light: #594876;
$custom-dark: #000000;
JSON
{
  "hex": "#140640",
  "rgb": {
    "r": 20,
    "g": 6,
    "b": 64
  },
  "hsl": {
    "h": 254.483,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.19818,
    "c": 0.10054,
    "h": 283.8
  },
  "luminance": 0.00649
}

Semantic roles & 50–950 ramp

primary
#140640
secondary
#698022
accent
#F92FC8
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #140640

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

Preview Lab → · Contrast checker → · Palette generator →

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