#140849#140849

#140849 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.110 H 280.0°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#140849
RGBrgb(20, 8, 73)
HSLhsl(251, 80%, 16%)
HSVhsv(251, 89%, 29%)
CMYKcmyk(72.6%, 89%, 0%, 71.4%)
CIE-LABlab(7.26, 27.30, -37.56)
CIE-LCHlch(7.26, 46.43, 306.01°)
OKLaboklab(21.26% 0.0191 -0.1086)
OKLCHoklch(21.26% 0.11 280)
XYZxyz(1.5775, 0.8033, 6.3740)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140849 #3D4908
analogous
#081C49 #140849 #340849
triadic
#140849 #491408 #084914
tetradic
#140849 #49081C #3D4908 #084934
square
#140849 #49081C #3D4908 #084934
split-complementary
#140849 #493408 #1C4908
monochromatic
#08031C #08031C #140849 #230E80 #3214B7

Accessibility & contrast

On white

18.09
#140849 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140849
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140849#FFFFFF#000000##FFFFFF
##1408491.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00184B
Deuteranopia (green-blind)
#001348
Tritanopia (blue-blind)
#001C29
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #140849;
/* rgb */ color: rgb(20, 8, 73);
/* oklch */ color: oklch(21.3% 0.110 280.0);
Tailwind
colors: {
  custom: {
    50: '#5b4a7d',
    500: '#140849',
    950: '#000000',
  },
}
SCSS
$custom: #140849;
$custom-light: #5b4a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#140849",
  "rgb": {
    "r": 20,
    "g": 8,
    "b": 73
  },
  "hsl": {
    "h": 251.077,
    "s": 80.247,
    "l": 15.882
  },
  "oklch": {
    "l": 0.21259,
    "c": 0.11022,
    "h": 280
  },
  "luminance": 0.00803
}

Semantic roles & 50–950 ramp

primary
#140849
secondary
#758726
accent
#F731D2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #140849

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

Preview Lab → · Contrast checker → · Palette generator →

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