#140943#140943

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

Color values

HEX#140943
RGBrgb(20, 9, 67)
HSLhsl(251, 76%, 15%)
HSVhsv(251, 87%, 26%)
CMYKcmyk(70.1%, 86.6%, 0%, 73.7%)
CIE-LABlab(6.77, 24.40, -34.14)
CIE-LCHlch(6.77, 41.96, 305.56°)
OKLaboklab(20.67% 0.0204 -0.0988)
OKLCHoklch(20.67% 0.101 281.7)
XYZxyz(1.3990, 0.7492, 5.3800)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140943 #384309
analogous
#091B43 #140943 #310943
triadic
#140943 #431409 #094314
tetradic
#140943 #43091B #384309 #094331
square
#140943 #43091B #384309 #094331
split-complementary
#140943 #433109 #1B4309
monochromatic
#08041B #08041B #140943 #241079 #3417AF

Accessibility & contrast

On white

18.26
#140943 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140943
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140943#FFFFFF#000000##FFFFFF
##1409431.0018.261.1518.26
#FFFFFF18.261.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001745
Deuteranopia (green-blind)
#001342
Tritanopia (blue-blind)
#001A26
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #140943;
/* rgb */ color: rgb(20, 9, 67);
/* oklch */ color: oklch(20.7% 0.101 281.7);
Tailwind
colors: {
  custom: {
    50: '#594a78',
    500: '#140943',
    950: '#000000',
  },
}
SCSS
$custom: #140943;
$custom-light: #594a78;
$custom-dark: #000000;
JSON
{
  "hex": "#140943",
  "rgb": {
    "r": 20,
    "g": 9,
    "b": 67
  },
  "hsl": {
    "h": 251.379,
    "s": 76.316,
    "l": 14.902
  },
  "oklch": {
    "l": 0.20666,
    "c": 0.1009,
    "h": 281.7
  },
  "luminance": 0.00749
}

Semantic roles & 50–950 ramp

primary
#140943
secondary
#708127
accent
#F335CF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #140943

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

Preview Lab → · Contrast checker → · Palette generator →

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