#13012E#13012E

#13012E is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.4% C 0.086 H 295.3°. Best body text is #FFFFFF at 19.60:1 contrast (WCAG AA passes).

Color values

HEX#13012E
RGBrgb(19, 1, 46)
HSLhsl(264, 96%, 9%)
HSVhsv(264, 98%, 18%)
CMYKcmyk(58.7%, 97.8%, 0%, 82%)
CIE-LABlab(3.23, 17.73, -24.53)
CIE-LCHlch(3.23, 30.27, 305.85°)
OKLaboklab(16.43% 0.0367 -0.0778)
OKLCHoklch(16.43% 0.086 295.3)
XYZxyz(0.7724, 0.3574, 2.6125)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13012E #1C2E01
analogous
#01062E #13012E #2A012E
triadic
#13012E #2E1301 #012E13
tetradic
#13012E #2E0106 #1C2E01 #012E2A
square
#13012E #2E0106 #1C2E01 #012E2A
split-complementary
#13012E #2E2A01 #062E01
monochromatic
#0C011E #0C011E #13012E #2C026A #4404A6

Accessibility & contrast

On white

19.60
#13012E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #13012E
19.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13012E#FFFFFF#000000##FFFFFF
##13012E1.0019.601.0719.60
#FFFFFF19.601.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2F
Deuteranopia (green-blind)
#000B2D
Tritanopia (blue-blind)
#0B0C17
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #13012e;
/* rgb */ color: rgb(19, 1, 46);
/* oklch */ color: oklch(16.4% 0.086 295.3);
Tailwind
colors: {
  custom: {
    50: '#524667',
    500: '#13012e',
    950: '#000000',
  },
}
SCSS
$custom: #13012e;
$custom-light: #524667;
$custom-dark: #000000;
JSON
{
  "hex": "#13012e",
  "rgb": {
    "r": 19,
    "g": 1,
    "b": 46
  },
  "hsl": {
    "h": 264,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.16426,
    "c": 0.08603,
    "h": 295.3
  },
  "luminance": 0.00357
}

Semantic roles & 50–950 ramp

primary
#13012E
secondary
#4F7417
accent
#FF29A9
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020006
muted
#78777A

Preview Lab

Preview with #13012E

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

Preview Lab → · Contrast checker → · Palette generator →

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