#130221#130221

#130221 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.2% C 0.068 H 306.8°. Best body text is #FFFFFF at 19.84:1 contrast (WCAG AA passes).

Color values

HEX#130221
RGBrgb(19, 2, 33)
HSLhsl(273, 89%, 7%)
HSVhsv(273, 94%, 13%)
CMYKcmyk(42.4%, 93.9%, 0%, 87.1%)
CIE-LABlab(2.63, 11.78, -15.44)
CIE-LCHlch(2.63, 19.42, 307.33°)
OKLaboklab(15.16% 0.0405 -0.054)
OKLCHoklch(15.16% 0.068 306.8)
XYZxyz(0.5647, 0.2917, 1.4651)
Luminance0.0029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130221 #102102
analogous
#040221 #130221 #210220
triadic
#130221 #211302 #022113
tetradic
#130221 #210402 #102102 #022021
square
#130221 #210402 #102102 #022021
split-complementary
#130221 #202102 #022104
monochromatic
#11021D #11021D #130221 #34055B #550994

Accessibility & contrast

On white

19.84
#130221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#130221 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #130221
19.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130221#FFFFFF#000000##FFFFFF
##1302211.0019.841.0619.84
#FFFFFF19.841.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000922
Deuteranopia (green-blind)
#000A20
Tritanopia (blue-blind)
#110810
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #130221;
/* rgb */ color: rgb(19, 2, 33);
/* oklch */ color: oklch(15.2% 0.068 306.8);
Tailwind
colors: {
  custom: {
    50: '#50475c',
    500: '#130221',
    950: '#000000',
  },
}
SCSS
$custom: #130221;
$custom-light: #50475c;
$custom-dark: #000000;
JSON
{
  "hex": "#130221",
  "rgb": {
    "r": 19,
    "g": 2,
    "b": 33
  },
  "hsl": {
    "h": 272.903,
    "s": 88.571,
    "l": 6.863
  },
  "oklch": {
    "l": 0.15158,
    "c": 0.06751,
    "h": 306.8
  },
  "luminance": 0.00292
}

Semantic roles & 50–950 ramp

primary
#130221
secondary
#3C6718
accent
#FF298A
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020004
muted
#787779

Preview Lab

Preview with #130221

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

Preview Lab → · Contrast checker → · Palette generator →

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