#140535#140535

#140535 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.3% C 0.087 H 289.7°. Best body text is #FFFFFF at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#140535
RGBrgb(20, 5, 53)
HSLhsl(259, 83%, 11%)
HSVhsv(259, 91%, 21%)
CMYKcmyk(62.3%, 90.6%, 0%, 79.2%)
CIE-LABlab(4.65, 20.03, -27.48)
CIE-LCHlch(4.65, 34.00, 306.09°)
OKLaboklab(18.29% 0.0293 -0.0821)
OKLCHoklch(18.29% 0.087 289.7)
XYZxyz(0.9852, 0.5143, 3.4148)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140535 #263505
analogous
#050E35 #140535 #2C0535
triadic
#140535 #351405 #053514
tetradic
#140535 #35050E #263505 #05352C
square
#140535 #35050E #263505 #05352C
split-complementary
#140535 #352C05 #0E3505
monochromatic
#0B031C #0B031C #140535 #290A6D #3E10A5

Accessibility & contrast

On white

19.04
#140535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#140535 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140535
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140535#FFFFFF#000000##FFFFFF
##1405351.0019.041.1019.04
#FFFFFF19.041.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001136
Deuteranopia (green-blind)
#000F34
Tritanopia (blue-blind)
#08121C
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #140535;
/* rgb */ color: rgb(20, 5, 53);
/* oklch */ color: oklch(18.3% 0.087 289.7);
Tailwind
colors: {
  custom: {
    50: '#55486d',
    500: '#140535',
    950: '#000000',
  },
}
SCSS
$custom: #140535;
$custom-light: #55486d;
$custom-dark: #000000;
JSON
{
  "hex": "#140535",
  "rgb": {
    "r": 20,
    "g": 5,
    "b": 53
  },
  "hsl": {
    "h": 258.75,
    "s": 82.759,
    "l": 11.373
  },
  "oklch": {
    "l": 0.18292,
    "c": 0.08717,
    "h": 289.7
  },
  "luminance": 0.00514
}

Semantic roles & 50–950 ramp

primary
#140535
secondary
#5B7620
accent
#F92FBA
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030007
muted
#78777A

Preview Lab

Preview with #140535

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

Preview Lab → · Contrast checker → · Palette generator →

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