#140A41#140A41

#140A41 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.6% C 0.097 H 282.0°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#140A41
RGBrgb(20, 10, 65)
HSLhsl(251, 73%, 15%)
HSVhsv(251, 85%, 25%)
CMYKcmyk(69.2%, 84.6%, 0%, 74.5%)
CIE-LABlab(6.75, 23.05, -32.74)
CIE-LCHlch(6.75, 40.04, 305.15°)
OKLaboklab(20.58% 0.0202 -0.0948)
OKLCHoklch(20.58% 0.097 282)
XYZxyz(1.3509, 0.7474, 5.0731)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140A41 #37410A
analogous
#0A1C41 #140A41 #300A41
triadic
#140A41 #41140A #0A4114
tetradic
#140A41 #410A1C #37410A #0A4130
square
#140A41 #410A1C #37410A #0A4130
split-complementary
#140A41 #41300A #1C410A
monochromatic
#08041B #08041B #140A41 #241276 #351AAB

Accessibility & contrast

On white

18.27
#140A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#140A41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140A41
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140A41#FFFFFF#000000##FFFFFF
##140A411.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001743
Deuteranopia (green-blind)
#001340
Tritanopia (blue-blind)
#001A25
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #140a41;
/* rgb */ color: rgb(20, 10, 65);
/* oklch */ color: oklch(20.6% 0.097 282.0);
Tailwind
colors: {
  custom: {
    50: '#594a76',
    500: '#140a41',
    950: '#000000',
  },
}
SCSS
$custom: #140a41;
$custom-light: #594a76;
$custom-dark: #000000;
JSON
{
  "hex": "#140a41",
  "rgb": {
    "r": 20,
    "g": 10,
    "b": 65
  },
  "hsl": {
    "h": 250.909,
    "s": 73.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.20581,
    "c": 0.0969,
    "h": 282
  },
  "luminance": 0.00747
}

Semantic roles & 50–950 ramp

primary
#140A41
secondary
#6F7E29
accent
#F038CF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #140A41

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

Preview Lab → · Contrast checker → · Palette generator →

#140A41 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva