#13012D#13012D

#13012D is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.3% C 0.085 H 296.1°. Best body text is #FFFFFF at 19.63:1 contrast (WCAG AA passes).

Color values

HEX#13012D
RGBrgb(19, 1, 45)
HSLhsl(265, 96%, 9%)
HSVhsv(265, 98%, 18%)
CMYKcmyk(57.8%, 97.8%, 0%, 82.4%)
CIE-LABlab(3.16, 17.23, -23.89)
CIE-LCHlch(3.16, 29.45, 305.80°)
OKLaboklab(16.3% 0.0373 -0.0762)
OKLCHoklch(16.3% 0.085 296.1)
XYZxyz(0.7529, 0.3496, 2.5099)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13012D #1B2D01
analogous
#01052D #13012D #29012D
triadic
#13012D #2D1301 #012D13
tetradic
#13012D #2D0105 #1B2D01 #012D29
square
#13012D #2D0105 #1B2D01 #012D29
split-complementary
#13012D #2D2901 #052D01
monochromatic
#0D011E #0D011E #13012D #2C0269 #4604A5

Accessibility & contrast

On white

19.63
#13012D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#13012D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13012D
19.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13012D#FFFFFF#000000##FFFFFF
##13012D1.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)
#000C2E
Deuteranopia (green-blind)
#000B2C
Tritanopia (blue-blind)
#0B0C16
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #13012d;
/* rgb */ color: rgb(19, 1, 45);
/* oklch */ color: oklch(16.3% 0.085 296.1);
Tailwind
colors: {
  custom: {
    50: '#524666',
    500: '#13012d',
    950: '#000000',
  },
}
SCSS
$custom: #13012d;
$custom-light: #524666;
$custom-dark: #000000;
JSON
{
  "hex": "#13012d",
  "rgb": {
    "r": 19,
    "g": 1,
    "b": 45
  },
  "hsl": {
    "h": 264.545,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.16299,
    "c": 0.08484,
    "h": 296.1
  },
  "luminance": 0.0035
}

Semantic roles & 50–950 ramp

primary
#13012D
secondary
#4D7317
accent
#FF29A7
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020006
muted
#78777A

Preview Lab

Preview with #13012D

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

Preview Lab → · Contrast checker → · Palette generator →

#13012D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva