#140532#140532

#140532 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.9% C 0.083 H 291.5°. Best body text is #FFFFFF at 19.13:1 contrast (WCAG AA passes).

Color values

HEX#140532
RGBrgb(20, 5, 50)
HSLhsl(260, 82%, 11%)
HSVhsv(260, 90%, 20%)
CMYKcmyk(60%, 90%, 0%, 80.4%)
CIE-LABlab(4.40, 18.55, -25.65)
CIE-LCHlch(4.40, 31.65, 305.87°)
OKLaboklab(17.94% 0.0304 -0.0773)
OKLCHoklch(17.94% 0.083 291.5)
XYZxyz(0.9183, 0.4875, 3.0627)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140532 #233205
analogous
#050C32 #140532 #2A0532
triadic
#140532 #321405 #053214
tetradic
#140532 #32050C #233205 #05322A
square
#140532 #32050C #233205 #05322A
split-complementary
#140532 #322A05 #0C3205
monochromatic
#0B031C #0B031C #140532 #2A0B6A #4110A1

Accessibility & contrast

On white

19.13
#140532 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140532
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140532#FFFFFF#000000##FFFFFF
##1405321.0019.131.1019.13
#FFFFFF19.131.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001033
Deuteranopia (green-blind)
#000E31
Tritanopia (blue-blind)
#0A111B
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #140532;
/* rgb */ color: rgb(20, 5, 50);
/* oklch */ color: oklch(17.9% 0.083 291.5);
Tailwind
colors: {
  custom: {
    50: '#54486a',
    500: '#140532',
    950: '#000000',
  },
}
SCSS
$custom: #140532;
$custom-light: #54486a;
$custom-dark: #000000;
JSON
{
  "hex": "#140532",
  "rgb": {
    "r": 20,
    "g": 5,
    "b": 50
  },
  "hsl": {
    "h": 260,
    "s": 81.818,
    "l": 10.784
  },
  "oklch": {
    "l": 0.17939,
    "c": 0.08308,
    "h": 291.5
  },
  "luminance": 0.00488
}

Semantic roles & 50–950 ramp

primary
#140532
secondary
#57731F
accent
#F830B5
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #140532

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

Preview Lab → · Contrast checker → · Palette generator →

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