#13022F#13022F

#13022F is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.8% C 0.085 H 293.9°. Best body text is #FFFFFF at 19.49:1 contrast (WCAG AA passes).

Color values

HEX#13022F
RGBrgb(19, 2, 47)
HSLhsl(263, 92%, 10%)
HSVhsv(263, 96%, 18%)
CMYKcmyk(59.6%, 95.7%, 0%, 81.6%)
CIE-LABlab(3.50, 17.83, -24.86)
CIE-LCHlch(3.50, 30.59, 305.65°)
OKLaboklab(16.79% 0.0344 -0.0777)
OKLCHoklch(16.79% 0.085 293.9)
XYZxyz(0.8032, 0.3871, 2.7212)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13022F #1E2F02
analogous
#02072F #13022F #2A022F
triadic
#13022F #2F1302 #022F13
tetradic
#13022F #2F0207 #1E2F02 #022F2A
square
#13022F #2F0207 #1E2F02 #022F2A
split-complementary
#13022F #2F2A02 #072F02
monochromatic
#0C011D #0C011D #13022F #2B046A #4207A4

Accessibility & contrast

On white

19.49
#13022F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#13022F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13022F
19.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13022F#FFFFFF#000000##FFFFFF
##13022F1.0019.491.0819.49
#FFFFFF19.491.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D30
Deuteranopia (green-blind)
#000C2E
Tritanopia (blue-blind)
#0A0E18
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #13022f;
/* rgb */ color: rgb(19, 2, 47);
/* oklch */ color: oklch(16.8% 0.085 293.9);
Tailwind
colors: {
  custom: {
    50: '#524768',
    500: '#13022f',
    950: '#000000',
  },
}
SCSS
$custom: #13022f;
$custom-light: #524768;
$custom-dark: #000000;
JSON
{
  "hex": "#13022f",
  "rgb": {
    "r": 19,
    "g": 2,
    "b": 47
  },
  "hsl": {
    "h": 262.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.16789,
    "c": 0.08502,
    "h": 293.9
  },
  "luminance": 0.00387
}

Semantic roles & 50–950 ramp

primary
#13022F
secondary
#517419
accent
#FF29AE
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020006
muted
#78777A

Preview Lab

Preview with #13022F

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

Preview Lab → · Contrast checker → · Palette generator →

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