#140946#140946

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

Color values

HEX#140946
RGBrgb(20, 9, 70)
HSLhsl(251, 77%, 15%)
HSVhsv(251, 87%, 27%)
CMYKcmyk(71.4%, 87.1%, 0%, 72.5%)
CIE-LABlab(7.10, 25.60, -35.71)
CIE-LCHlch(7.10, 43.93, 305.64°)
OKLaboklab(21.03% 0.0194 -0.1032)
OKLCHoklch(21.03% 0.105 280.7)
XYZxyz(1.4913, 0.7862, 5.8663)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140946 #3B4609
analogous
#091C46 #140946 #320946
triadic
#140946 #461409 #094614
tetradic
#140946 #46091C #3B4609 #094632
square
#140946 #46091C #3B4609 #094632
split-complementary
#140946 #463209 #1C4609
monochromatic
#08031B #08031B #140946 #23107C #3317B2

Accessibility & contrast

On white

18.15
#140946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140946
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140946#FFFFFF#000000##FFFFFF
##1409461.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001848
Deuteranopia (green-blind)
#001345
Tritanopia (blue-blind)
#001B27
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #140946;
/* rgb */ color: rgb(20, 9, 70);
/* oklch */ color: oklch(21.0% 0.105 280.7);
Tailwind
colors: {
  custom: {
    50: '#5a4a7a',
    500: '#140946',
    950: '#000000',
  },
}
SCSS
$custom: #140946;
$custom-light: #5a4a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#140946",
  "rgb": {
    "r": 20,
    "g": 9,
    "b": 70
  },
  "hsl": {
    "h": 250.82,
    "s": 77.215,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21032,
    "c": 0.10505,
    "h": 280.7
  },
  "luminance": 0.00786
}

Semantic roles & 50–950 ramp

primary
#140946
secondary
#738427
accent
#F434D1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #140946

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

Preview Lab → · Contrast checker → · Palette generator →

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