#13012C#13012C

#13012C is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 16.2% C 0.084 H 296.9°. Best body text is #FFFFFF at 19.66:1 contrast (WCAG AA passes).

Color values

HEX#13012C
RGBrgb(19, 1, 44)
HSLhsl(265, 96%, 9%)
HSVhsv(265, 98%, 17%)
CMYKcmyk(56.8%, 97.7%, 0%, 82.7%)
CIE-LABlab(3.09, 16.75, -23.24)
CIE-LCHlch(3.09, 28.65, 305.78°)
OKLaboklab(16.17% 0.0378 -0.0746)
OKLCHoklch(16.17% 0.084 296.9)
XYZxyz(0.7339, 0.3420, 2.4097)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13012C #1A2C01
analogous
#01052C #13012C #29012C
triadic
#13012C #2C1301 #012C13
tetradic
#13012C #2C0105 #1A2C01 #012C29
square
#13012C #2C0105 #1A2C01 #012C29
split-complementary
#13012C #2C2901 #052C01
monochromatic
#0D011E #0D011E #13012C #2D0268 #4704A4

Accessibility & contrast

On white

19.66
#13012C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #13012C
19.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13012C#FFFFFF#000000##FFFFFF
##13012C1.0019.661.0719.66
#FFFFFF19.661.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2D
Deuteranopia (green-blind)
#000B2B
Tritanopia (blue-blind)
#0C0B16
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #13012c;
/* rgb */ color: rgb(19, 1, 44);
/* oklch */ color: oklch(16.2% 0.084 296.9);
Tailwind
colors: {
  custom: {
    50: '#524665',
    500: '#13012c',
    950: '#000000',
  },
}
SCSS
$custom: #13012c;
$custom-light: #524665;
$custom-dark: #000000;
JSON
{
  "hex": "#13012c",
  "rgb": {
    "r": 19,
    "g": 1,
    "b": 44
  },
  "hsl": {
    "h": 265.116,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.16173,
    "c": 0.08365,
    "h": 296.9
  },
  "luminance": 0.00342
}

Semantic roles & 50–950 ramp

primary
#13012C
secondary
#4C7217
accent
#FF29A5
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020005
muted
#78777A

Preview Lab

Preview with #13012C

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

Preview Lab → · Contrast checker → · Palette generator →

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