#140735#140735

#140735 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.7% C 0.084 H 288.6°. Best body text is #FFFFFF at 18.89:1 contrast (WCAG AA passes).

Color values

HEX#140735
RGBrgb(20, 7, 53)
HSLhsl(257, 77%, 12%)
HSVhsv(257, 87%, 21%)
CMYKcmyk(62.3%, 86.8%, 0%, 79.2%)
CIE-LABlab(5.04, 19.13, -26.84)
CIE-LCHlch(5.04, 32.97, 305.48°)
OKLaboklab(18.68% 0.0268 -0.0795)
OKLCHoklch(18.68% 0.084 288.6)
XYZxyz(1.0069, 0.5577, 3.4221)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140735 #283507
analogous
#071135 #140735 #2B0735
triadic
#140735 #351407 #073514
tetradic
#140735 #350711 #283507 #07352B
square
#140735 #350711 #283507 #07352B
split-complementary
#140735 #352B07 #113507
monochromatic
#0A041B #0A041B #140735 #280E6B #3D15A1

Accessibility & contrast

On white

18.89
#140735 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#140735 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140735
18.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140735#FFFFFF#000000##FFFFFF
##1407351.0018.891.1118.89
#FFFFFF18.891.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001236
Deuteranopia (green-blind)
#001034
Tritanopia (blue-blind)
#07131D
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #140735;
/* rgb */ color: rgb(20, 7, 53);
/* oklch */ color: oklch(18.7% 0.084 288.6);
Tailwind
colors: {
  custom: {
    50: '#55496d',
    500: '#140735',
    950: '#000000',
  },
}
SCSS
$custom: #140735;
$custom-light: #55496d;
$custom-dark: #000000;
JSON
{
  "hex": "#140735",
  "rgb": {
    "r": 20,
    "g": 7,
    "b": 53
  },
  "hsl": {
    "h": 256.957,
    "s": 76.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.18676,
    "c": 0.08389,
    "h": 288.6
  },
  "luminance": 0.00558
}

Semantic roles & 50–950 ramp

primary
#140735
secondary
#5E7523
accent
#F335BD
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030007
muted
#78777A

Preview Lab

Preview with #140735

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

Preview Lab → · Contrast checker → · Palette generator →

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