#140332#140332

#140332 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.5% C 0.087 H 292.6°. Best body text is #FFFFFF at 19.29:1 contrast (WCAG AA passes).

Color values

HEX#140332
RGBrgb(20, 3, 50)
HSLhsl(262, 89%, 10%)
HSVhsv(262, 94%, 20%)
CMYKcmyk(60%, 94%, 0%, 80.4%)
CIE-LABlab(4.01, 19.39, -26.27)
CIE-LCHlch(4.01, 32.65, 306.43°)
OKLaboklab(17.52% 0.0334 -0.0802)
OKLCHoklch(17.52% 0.087 292.6)
XYZxyz(0.8966, 0.4441, 3.0555)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140332 #213203
analogous
#030A32 #140332 #2B0332
triadic
#140332 #321403 #033214
tetradic
#140332 #32030A #213203 #03322B
square
#140332 #32030A #213203 #03322B
split-complementary
#140332 #322B03 #0A3203
monochromatic
#0C021D #0C021D #140332 #2B066C #420AA5

Accessibility & contrast

On white

19.29
#140332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#140332 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140332
19.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140332#FFFFFF#000000##FFFFFF
##1403321.0019.291.0919.29
#FFFFFF19.291.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F33
Deuteranopia (green-blind)
#000D31
Tritanopia (blue-blind)
#0A101A
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #140332;
/* rgb */ color: rgb(20, 3, 50);
/* oklch */ color: oklch(17.5% 0.087 292.6);
Tailwind
colors: {
  custom: {
    50: '#54476a',
    500: '#140332',
    950: '#000000',
  },
}
SCSS
$custom: #140332;
$custom-light: #54476a;
$custom-dark: #000000;
JSON
{
  "hex": "#140332",
  "rgb": {
    "r": 20,
    "g": 3,
    "b": 50
  },
  "hsl": {
    "h": 261.702,
    "s": 88.679,
    "l": 10.392
  },
  "oklch": {
    "l": 0.17522,
    "c": 0.08683,
    "h": 292.6
  },
  "luminance": 0.00444
}

Semantic roles & 50–950 ramp

primary
#140332
secondary
#55751B
accent
#FF29B1
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #140332

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

Preview Lab → · Contrast checker → · Palette generator →

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