#140941#140941

#140941 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.4% C 0.098 H 282.4°. Best body text is #FFFFFF at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#140941
RGBrgb(20, 9, 65)
HSLhsl(252, 76%, 15%)
HSVhsv(252, 86%, 25%)
CMYKcmyk(69.2%, 86.2%, 0%, 74.5%)
CIE-LABlab(6.56, 23.57, -33.06)
CIE-LCHlch(6.56, 40.60, 305.48°)
OKLaboklab(20.43% 0.021 -0.0958)
OKLCHoklch(20.43% 0.098 282.4)
XYZxyz(1.3400, 0.7257, 5.0695)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140941 #364109
analogous
#091A41 #140941 #300941
triadic
#140941 #411409 #094114
tetradic
#140941 #41091A #364109 #094130
square
#140941 #41091A #364109 #094130
split-complementary
#140941 #413009 #1A4109
monochromatic
#08041B #08041B #140941 #251077 #3518AD

Accessibility & contrast

On white

18.34
#140941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140941
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140941#FFFFFF#000000##FFFFFF
##1409411.0018.341.1518.34
#FFFFFF18.341.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001643
Deuteranopia (green-blind)
#001340
Tritanopia (blue-blind)
#001924
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #140941;
/* rgb */ color: rgb(20, 9, 65);
/* oklch */ color: oklch(20.4% 0.098 282.4);
Tailwind
colors: {
  custom: {
    50: '#594a76',
    500: '#140941',
    950: '#000000',
  },
}
SCSS
$custom: #140941;
$custom-light: #594a76;
$custom-dark: #000000;
JSON
{
  "hex": "#140941",
  "rgb": {
    "r": 20,
    "g": 9,
    "b": 65
  },
  "hsl": {
    "h": 251.786,
    "s": 75.676,
    "l": 14.51
  },
  "oklch": {
    "l": 0.20426,
    "c": 0.09811,
    "h": 282.4
  },
  "luminance": 0.00726
}

Semantic roles & 50–950 ramp

primary
#140941
secondary
#6E7F27
accent
#F236CD
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #140941

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

Preview Lab → · Contrast checker → · Palette generator →

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