#140647#140647

#140647 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.7% C 0.110 H 281.1°. Best body text is #FFFFFF at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#140647
RGBrgb(20, 6, 71)
HSLhsl(253, 84%, 15%)
HSVhsv(253, 92%, 28%)
CMYKcmyk(71.8%, 91.5%, 0%, 72.2%)
CIE-LABlab(6.63, 27.62, -37.19)
CIE-LCHlch(6.63, 46.32, 306.60°)
OKLaboklab(20.71% 0.0212 -0.1077)
OKLCHoklch(20.71% 0.11 281.1)
XYZxyz(1.4906, 0.7338, 6.0231)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140647 #394706
analogous
#061847 #140647 #340647
triadic
#140647 #471406 #064714
tetradic
#140647 #470618 #394706 #064734
square
#140647 #470618 #394706 #064734
split-complementary
#140647 #473406 #184706
monochromatic
#08021C #08021C #140647 #240B7F #3410B8

Accessibility & contrast

On white

18.31
#140647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#140647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140647
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140647#FFFFFF#000000##FFFFFF
##1406471.0018.311.1518.31
#FFFFFF18.311.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001749
Deuteranopia (green-blind)
#001246
Tritanopia (blue-blind)
#001A27
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #140647;
/* rgb */ color: rgb(20, 6, 71);
/* oklch */ color: oklch(20.7% 0.110 281.1);
Tailwind
colors: {
  custom: {
    50: '#5b487b',
    500: '#140647',
    950: '#000000',
  },
}
SCSS
$custom: #140647;
$custom-light: #5b487b;
$custom-dark: #000000;
JSON
{
  "hex": "#140647",
  "rgb": {
    "r": 20,
    "g": 6,
    "b": 71
  },
  "hsl": {
    "h": 252.923,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.20707,
    "c": 0.10982,
    "h": 281.1
  },
  "luminance": 0.00734
}

Semantic roles & 50–950 ramp

primary
#140647
secondary
#718623
accent
#FB2DCE
background
#F5F4F7
surface
#E9E6EE
border
#C5C2C9
text
#040009
muted
#79777B

Preview Lab

Preview with #140647

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

Preview Lab → · Contrast checker → · Palette generator →

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