#140C35#140C35

#140C35 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.6% C 0.076 H 285.9°. Best body text is #FFFFFF at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#140C35
RGBrgb(20, 12, 53)
HSLhsl(252, 63%, 13%)
HSVhsv(252, 77%, 21%)
CMYKcmyk(62.3%, 77.4%, 0%, 79.2%)
CIE-LABlab(6.04, 16.79, -25.23)
CIE-LCHlch(6.04, 30.31, 303.65°)
OKLaboklab(19.59% 0.021 -0.0733)
OKLCHoklch(19.59% 0.076 285.9)
XYZxyz(1.0624, 0.6687, 3.4406)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140C35 #2D350C
analogous
#0C1935 #140C35 #280C35
triadic
#140C35 #35140C #0C3514
tetradic
#140C35 #350C19 #2D350C #0C3528
square
#140C35 #350C19 #2D350C #0C3528
split-complementary
#140C35 #35280C #19350C
monochromatic
#090619 #090619 #140C35 #271767 #3A2399

Accessibility & contrast

On white

18.52
#140C35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140C35
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140C35#FFFFFF#000000##FFFFFF
##140C351.0018.521.1318.52
#FFFFFF18.521.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001436
Deuteranopia (green-blind)
#001234
Tritanopia (blue-blind)
#07161F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #140c35;
/* rgb */ color: rgb(20, 12, 53);
/* oklch */ color: oklch(19.6% 0.076 285.9);
Tailwind
colors: {
  custom: {
    50: '#554b6d',
    500: '#140c35',
    950: '#000000',
  },
}
SCSS
$custom: #140c35;
$custom-light: #554b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#140c35",
  "rgb": {
    "r": 20,
    "g": 12,
    "b": 53
  },
  "hsl": {
    "h": 251.707,
    "s": 63.077,
    "l": 12.745
  },
  "oklch": {
    "l": 0.19592,
    "c": 0.07629,
    "h": 285.9
  },
  "luminance": 0.00669
}

Semantic roles & 50–950 ramp

primary
#140C35
secondary
#64712C
accent
#E642C6
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #140C35

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

Preview Lab → · Contrast checker → · Palette generator →

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