#140232#140232

#140232 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.3% C 0.089 H 293.1°. Best body text is #FFFFFF at 19.37:1 contrast (WCAG AA passes).

Color values

HEX#140232
RGBrgb(20, 2, 50)
HSLhsl(263, 92%, 10%)
HSVhsv(263, 96%, 20%)
CMYKcmyk(60%, 96%, 0%, 80.4%)
CIE-LABlab(3.82, 19.81, -26.59)
CIE-LCHlch(3.82, 33.16, 306.69°)
OKLaboklab(17.31% 0.0349 -0.0816)
OKLCHoklch(17.31% 0.089 293.1)
XYZxyz(0.8858, 0.4224, 3.0519)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140232 #203202
analogous
#020832 #140232 #2C0232
triadic
#140232 #321402 #023214
tetradic
#140232 #320208 #203202 #02322C
square
#140232 #320208 #203202 #02322C
split-complementary
#140232 #322C02 #083202
monochromatic
#0C011D #0C011D #140232 #2C046D #4307A8

Accessibility & contrast

On white

19.37
#140232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#140232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140232
19.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140232#FFFFFF#000000##FFFFFF
##1402321.0019.371.0819.37
#FFFFFF19.371.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #140232;
/* rgb */ color: rgb(20, 2, 50);
/* oklch */ color: oklch(17.3% 0.089 293.1);
Tailwind
colors: {
  custom: {
    50: '#54476a',
    500: '#140232',
    950: '#000000',
  },
}
SCSS
$custom: #140232;
$custom-light: #54476a;
$custom-dark: #000000;
JSON
{
  "hex": "#140232",
  "rgb": {
    "r": 20,
    "g": 2,
    "b": 50
  },
  "hsl": {
    "h": 262.5,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.17305,
    "c": 0.0888,
    "h": 293.1
  },
  "luminance": 0.00422
}

Semantic roles & 50–950 ramp

primary
#140232
secondary
#547619
accent
#FF29AF
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#030006
muted
#78777A

Preview Lab

Preview with #140232

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

Preview Lab → · Contrast checker → · Palette generator →

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