#140A37#140A37

#140A37 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.4% C 0.082 H 286.1°. Best body text is #FFFFFF at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#140A37
RGBrgb(20, 10, 55)
HSLhsl(253, 69%, 13%)
HSVhsv(253, 82%, 22%)
CMYKcmyk(63.6%, 81.8%, 0%, 78.4%)
CIE-LABlab(5.80, 18.68, -27.09)
CIE-LCHlch(5.80, 32.91, 304.60°)
OKLaboklab(19.44% 0.0229 -0.0791)
OKLCHoklch(19.44% 0.082 286.1)
XYZxyz(1.0864, 0.6416, 3.6803)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140A37 #2D370A
analogous
#0A1737 #140A37 #2A0A37
triadic
#140A37 #37140A #0A3714
tetradic
#140A37 #370A17 #2D370A #0A372A
square
#140A37 #370A17 #2D370A #0A372A
split-complementary
#140A37 #372A0A #17370A
monochromatic
#09051A #09051A #140A37 #27136B #3A1D9F

Accessibility & contrast

On white

18.61
#140A37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#140A37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140A37
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140A37#FFFFFF#000000##FFFFFF
##140A371.0018.611.1318.61
#FFFFFF18.611.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001438
Deuteranopia (green-blind)
#001136
Tritanopia (blue-blind)
#06161F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #140a37;
/* rgb */ color: rgb(20, 10, 55);
/* oklch */ color: oklch(19.4% 0.082 286.1);
Tailwind
colors: {
  custom: {
    50: '#564a6e',
    500: '#140a37',
    950: '#000000',
  },
}
SCSS
$custom: #140a37;
$custom-light: #564a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#140a37",
  "rgb": {
    "r": 20,
    "g": 10,
    "b": 55
  },
  "hsl": {
    "h": 253.333,
    "s": 69.231,
    "l": 12.745
  },
  "oklch": {
    "l": 0.19442,
    "c": 0.08232,
    "h": 286.1
  },
  "luminance": 0.00642
}

Semantic roles & 50–950 ramp

primary
#140A37
secondary
#647428
accent
#EC3CC5
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #140A37

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

Preview Lab → · Contrast checker → · Palette generator →

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