#140229#140229

#140229 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.2% C 0.078 H 300.3°. Best body text is #FFFFFF at 19.62:1 contrast (WCAG AA passes).

Color values

HEX#140229
RGBrgb(20, 2, 41)
HSLhsl(268, 91%, 8%)
HSVhsv(268, 95%, 16%)
CMYKcmyk(51.2%, 95.1%, 0%, 83.9%)
CIE-LABlab(3.18, 15.38, -20.80)
CIE-LCHlch(3.18, 25.87, 306.49°)
OKLaboklab(16.22% 0.0392 -0.0671)
OKLCHoklch(16.22% 0.078 300.3)
XYZxyz(0.7103, 0.3522, 2.1280)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140229 #172902
analogous
#020329 #140229 #270229
triadic
#140229 #291402 #022914
tetradic
#140229 #290203 #172902 #022927
square
#140229 #290203 #172902 #022927
split-complementary
#140229 #292702 #032902
monochromatic
#0E011D #0E011D #140229 #300563 #4D089E

Accessibility & contrast

On white

19.62
#140229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#140229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140229
19.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140229#FFFFFF#000000##FFFFFF
##1402291.0019.621.0719.62
#FFFFFF19.621.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2A
Deuteranopia (green-blind)
#000B28
Tritanopia (blue-blind)
#0F0B14
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #140229;
/* rgb */ color: rgb(20, 2, 41);
/* oklch */ color: oklch(16.2% 0.078 300.3);
Tailwind
colors: {
  custom: {
    50: '#524763',
    500: '#140229',
    950: '#000000',
  },
}
SCSS
$custom: #140229;
$custom-light: #524763;
$custom-dark: #000000;
JSON
{
  "hex": "#140229",
  "rgb": {
    "r": 20,
    "g": 2,
    "b": 41
  },
  "hsl": {
    "h": 267.692,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.16218,
    "c": 0.07769,
    "h": 300.3
  },
  "luminance": 0.00352
}

Semantic roles & 50–950 ramp

primary
#140229
secondary
#476E19
accent
#FF299C
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#020005
muted
#787779

Preview Lab

Preview with #140229

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

Preview Lab → · Contrast checker → · Palette generator →

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