#140732#140732

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

Color values

HEX#140732
RGBrgb(20, 7, 50)
HSLhsl(258, 75%, 11%)
HSVhsv(258, 86%, 20%)
CMYKcmyk(60%, 86%, 0%, 80.4%)
CIE-LABlab(4.80, 17.69, -25.02)
CIE-LCHlch(4.80, 30.64, 305.26°)
OKLaboklab(18.34% 0.0277 -0.0746)
OKLCHoklch(18.34% 0.08 290.4)
XYZxyz(0.9400, 0.5309, 3.0699)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140732 #253207
analogous
#070F32 #140732 #290732
triadic
#140732 #321407 #073214
tetradic
#140732 #32070F #253207 #073229
square
#140732 #32070F #253207 #073229
split-complementary
#140732 #322907 #0F3207
monochromatic
#0B041B #0B041B #140732 #290F68 #3F169D

Accessibility & contrast

On white

18.98
#140732 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140732
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140732#FFFFFF#000000##FFFFFF
##1407321.0018.981.1118.98
#FFFFFF18.981.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001133
Deuteranopia (green-blind)
#000F31
Tritanopia (blue-blind)
#0A121B
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #140732;
/* rgb */ color: rgb(20, 7, 50);
/* oklch */ color: oklch(18.3% 0.080 290.4);
Tailwind
colors: {
  custom: {
    50: '#54496a',
    500: '#140732',
    950: '#000000',
  },
}
SCSS
$custom: #140732;
$custom-light: #54496a;
$custom-dark: #000000;
JSON
{
  "hex": "#140732",
  "rgb": {
    "r": 20,
    "g": 7,
    "b": 50
  },
  "hsl": {
    "h": 258.14,
    "s": 75.439,
    "l": 11.176
  },
  "oklch": {
    "l": 0.18338,
    "c": 0.07957,
    "h": 290.4
  },
  "luminance": 0.00531
}

Semantic roles & 50–950 ramp

primary
#140732
secondary
#5A7223
accent
#F236B9
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #140732

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

Preview Lab → · Contrast checker → · Palette generator →

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