#130321#130321

#130321 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.4% C 0.064 H 306.0°. Best body text is #FFFFFF at 19.76:1 contrast (WCAG AA passes).

Color values

HEX#130321
RGBrgb(19, 3, 33)
HSLhsl(272, 83%, 7%)
HSVhsv(272, 91%, 13%)
CMYKcmyk(42.4%, 90.9%, 0%, 87.1%)
CIE-LABlab(2.83, 11.38, -15.14)
CIE-LCHlch(2.83, 18.94, 306.92°)
OKLaboklab(15.44% 0.0379 -0.0522)
OKLCHoklch(15.44% 0.064 306)
XYZxyz(0.5756, 0.3134, 1.4687)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130321 #112103
analogous
#040321 #130321 #210320
triadic
#130321 #211303 #032113
tetradic
#130321 #210403 #112103 #032021
square
#130321 #210403 #112103 #032021
split-complementary
#130321 #202103 #032104
monochromatic
#10031C #10031C #130321 #330859 #540D91

Accessibility & contrast

On white

19.76
#130321 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #130321
19.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130321#FFFFFF#000000##FFFFFF
##1303211.0019.761.0619.76
#FFFFFF19.761.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #130321;
/* rgb */ color: rgb(19, 3, 33);
/* oklch */ color: oklch(15.4% 0.064 306.0);
Tailwind
colors: {
  custom: {
    50: '#50485c',
    500: '#130321',
    950: '#000000',
  },
}
SCSS
$custom: #130321;
$custom-light: #50485c;
$custom-dark: #000000;
JSON
{
  "hex": "#130321",
  "rgb": {
    "r": 19,
    "g": 3,
    "b": 33
  },
  "hsl": {
    "h": 272,
    "s": 83.333,
    "l": 7.059
  },
  "oklch": {
    "l": 0.1544,
    "c": 0.06445,
    "h": 306
  },
  "luminance": 0.00313
}

Semantic roles & 50–950 ramp

primary
#130321
secondary
#3D651B
accent
#FA2E8D
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020004
muted
#787779

Preview Lab

Preview with #130321

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

Preview Lab → · Contrast checker → · Palette generator →

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