#13022A#13022A

#13022A is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 16.2% C 0.079 H 297.9°. Best body text is #FFFFFF at 19.63:1 contrast (WCAG AA passes).

Color values

HEX#13022A
RGBrgb(19, 2, 42)
HSLhsl(266, 91%, 9%)
HSVhsv(266, 95%, 16%)
CMYKcmyk(54.8%, 95.2%, 0%, 83.5%)
CIE-LABlab(3.15, 15.42, -21.62)
CIE-LCHlch(3.15, 26.55, 305.50°)
OKLaboklab(16.18% 0.0368 -0.0696)
OKLCHoklch(16.18% 0.079 297.9)
XYZxyz(0.7081, 0.3490, 2.2201)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13022A #192A02
analogous
#02052A #13022A #27022A
triadic
#13022A #2A1302 #022A13
tetradic
#13022A #2A0205 #192A02 #022A27
square
#13022A #2A0205 #192A02 #022A27
split-complementary
#13022A #2A2702 #052A02
monochromatic
#0D011D #0D011D #13022A #2D0564 #48089F

Accessibility & contrast

On white

19.63
#13022A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#13022A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13022A
19.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13022A#FFFFFF#000000##FFFFFF
##13022A1.0019.631.0719.63
#FFFFFF19.631.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2B
Deuteranopia (green-blind)
#000B29
Tritanopia (blue-blind)
#0D0B15
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #13022a;
/* rgb */ color: rgb(19, 2, 42);
/* oklch */ color: oklch(16.2% 0.079 297.9);
Tailwind
colors: {
  custom: {
    50: '#514764',
    500: '#13022a',
    950: '#000000',
  },
}
SCSS
$custom: #13022a;
$custom-light: #514764;
$custom-dark: #000000;
JSON
{
  "hex": "#13022a",
  "rgb": {
    "r": 19,
    "g": 2,
    "b": 42
  },
  "hsl": {
    "h": 265.5,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.1618,
    "c": 0.07876,
    "h": 297.9
  },
  "luminance": 0.00349
}

Semantic roles & 50–950 ramp

primary
#13022A
secondary
#4A6F19
accent
#FF29A4
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#020005
muted
#787779

Preview Lab

Preview with #13022A

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

Preview Lab → · Contrast checker → · Palette generator →

#13022A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva