#140C32#140C32

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

Color values

HEX#140C32
RGBrgb(20, 12, 50)
HSLhsl(253, 61%, 12%)
HSVhsv(253, 76%, 20%)
CMYKcmyk(60%, 76%, 0%, 80.4%)
CIE-LABlab(5.80, 15.44, -23.41)
CIE-LCHlch(5.80, 28.04, 303.40°)
OKLaboklab(19.29% 0.0214 -0.0683)
OKLCHoklch(19.29% 0.072 287.4)
XYZxyz(0.9955, 0.6419, 3.0884)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140C32 #2A320C
analogous
#0C1732 #140C32 #270C32
triadic
#140C32 #32140C #0C3214
tetradic
#140C32 #320C17 #2A320C #0C3227
square
#140C32 #320C17 #2A320C #0C3227
split-complementary
#140C32 #32270C #17320C
monochromatic
#0A0619 #0A0619 #140C32 #281863 #3B2495

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##140C32#FFFFFF#000000##FFFFFF
##140C321.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)
#001433
Deuteranopia (green-blind)
#001231
Tritanopia (blue-blind)
#09151D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #140c32;
/* rgb */ color: rgb(20, 12, 50);
/* oklch */ color: oklch(19.3% 0.072 287.4);
Tailwind
colors: {
  custom: {
    50: '#544b6a',
    500: '#140c32',
    950: '#000000',
  },
}
SCSS
$custom: #140c32;
$custom-light: #544b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#140c32",
  "rgb": {
    "r": 20,
    "g": 12,
    "b": 50
  },
  "hsl": {
    "h": 252.632,
    "s": 61.29,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19286,
    "c": 0.07155,
    "h": 287.4
  },
  "luminance": 0.00642
}

Semantic roles & 50–950 ramp

primary
#140C32
secondary
#606E2C
accent
#E443C3
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #140C32

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

Preview Lab → · Contrast checker → · Palette generator →

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