#140843#140843

#140843 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.5% C 0.102 H 282.0°. Best body text is #FFFFFF at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#140843
RGBrgb(20, 8, 67)
HSLhsl(252, 79%, 15%)
HSVhsv(252, 88%, 26%)
CMYKcmyk(70.1%, 88.1%, 0%, 73.7%)
CIE-LABlab(6.57, 24.93, -34.46)
CIE-LCHlch(6.57, 42.53, 305.88°)
OKLaboklab(20.51% 0.0212 -0.0999)
OKLCHoklch(20.51% 0.102 282)
XYZxyz(1.3881, 0.7275, 5.3764)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140843 #374308
analogous
#081A43 #140843 #320843
triadic
#140843 #431408 #084314
tetradic
#140843 #43081A #374308 #084332
square
#140843 #43081A #374308 #084332
split-complementary
#140843 #433208 #1A4308
monochromatic
#08031B #08031B #140843 #240F7A #3515B0

Accessibility & contrast

On white

18.33
#140843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140843
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140843#FFFFFF#000000##FFFFFF
##1408431.0018.331.1518.33
#FFFFFF18.331.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001645
Deuteranopia (green-blind)
#001242
Tritanopia (blue-blind)
#001925
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #140843;
/* rgb */ color: rgb(20, 8, 67);
/* oklch */ color: oklch(20.5% 0.102 282.0);
Tailwind
colors: {
  custom: {
    50: '#594978',
    500: '#140843',
    950: '#000000',
  },
}
SCSS
$custom: #140843;
$custom-light: #594978;
$custom-dark: #000000;
JSON
{
  "hex": "#140843",
  "rgb": {
    "r": 20,
    "g": 8,
    "b": 67
  },
  "hsl": {
    "h": 252.203,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.20512,
    "c": 0.10209,
    "h": 282
  },
  "luminance": 0.00728
}

Semantic roles & 50–950 ramp

primary
#140843
secondary
#6F8125
accent
#F533CE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #140843

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

Preview Lab → · Contrast checker → · Palette generator →

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