#140847#140847

#140847 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.0% C 0.108 H 280.6°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#140847
RGBrgb(20, 8, 71)
HSLhsl(251, 80%, 15%)
HSVhsv(251, 89%, 28%)
CMYKcmyk(71.8%, 88.7%, 0%, 72.2%)
CIE-LABlab(7.02, 26.53, -36.55)
CIE-LCHlch(7.02, 45.16, 305.98°)
OKLaboklab(21.01% 0.0198 -0.1057)
OKLCHoklch(21.01% 0.108 280.6)
XYZxyz(1.5123, 0.7772, 6.0303)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140847 #3B4708
analogous
#081B47 #140847 #330847
triadic
#140847 #471408 #084714
tetradic
#140847 #47081B #3B4708 #084733
square
#140847 #47081B #3B4708 #084733
split-complementary
#140847 #473308 #1B4708
monochromatic
#08031C #08031C #140847 #230E7E #3314B5

Accessibility & contrast

On white

18.18
#140847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#140847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140847
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140847#FFFFFF#000000##FFFFFF
##1408471.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001849
Deuteranopia (green-blind)
#001346
Tritanopia (blue-blind)
#001B28
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #140847;
/* rgb */ color: rgb(20, 8, 71);
/* oklch */ color: oklch(21.0% 0.108 280.6);
Tailwind
colors: {
  custom: {
    50: '#5b497b',
    500: '#140847',
    950: '#000000',
  },
}
SCSS
$custom: #140847;
$custom-light: #5b497b;
$custom-dark: #000000;
JSON
{
  "hex": "#140847",
  "rgb": {
    "r": 20,
    "g": 8,
    "b": 71
  },
  "hsl": {
    "h": 251.429,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21008,
    "c": 0.10754,
    "h": 280.6
  },
  "luminance": 0.00777
}

Semantic roles & 50–950 ramp

primary
#140847
secondary
#738526
accent
#F632D1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #140847

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

Preview Lab → · Contrast checker → · Palette generator →

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