#13012B#13012B

#13012B is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 16.0% C 0.082 H 297.7°. Best body text is #FFFFFF at 19.68:1 contrast (WCAG AA passes).

Color values

HEX#13012B
RGBrgb(19, 1, 43)
HSLhsl(266, 95%, 9%)
HSVhsv(266, 98%, 17%)
CMYKcmyk(55.8%, 97.7%, 0%, 83.1%)
CIE-LABlab(3.02, 16.27, -22.58)
CIE-LCHlch(3.02, 27.84, 305.78°)
OKLaboklab(16.05% 0.0383 -0.073)
OKLCHoklch(16.05% 0.082 297.7)
XYZxyz(0.7153, 0.3346, 2.3119)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13012B #192B01
analogous
#01042B #13012B #28012B
triadic
#13012B #2B1301 #012B13
tetradic
#13012B #2B0104 #192B01 #012B28
square
#13012B #2B0104 #192B01 #012B28
split-complementary
#13012B #2B2801 #042B01
monochromatic
#0D011E #0D011E #13012B #2D0267 #4804A3

Accessibility & contrast

On white

19.68
#13012B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #13012B
19.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13012B#FFFFFF#000000##FFFFFF
##13012B1.0019.681.0719.68
#FFFFFF19.681.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2C
Deuteranopia (green-blind)
#000A2A
Tritanopia (blue-blind)
#0C0B15
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #13012b;
/* rgb */ color: rgb(19, 1, 43);
/* oklch */ color: oklch(16.0% 0.082 297.7);
Tailwind
colors: {
  custom: {
    50: '#514764',
    500: '#13012b',
    950: '#000000',
  },
}
SCSS
$custom: #13012b;
$custom-light: #514764;
$custom-dark: #000000;
JSON
{
  "hex": "#13012b",
  "rgb": {
    "r": 19,
    "g": 1,
    "b": 43
  },
  "hsl": {
    "h": 265.714,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.16048,
    "c": 0.08246,
    "h": 297.7
  },
  "luminance": 0.00335
}

Semantic roles & 50–950 ramp

primary
#13012B
secondary
#4A7117
accent
#FF29A3
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020005
muted
#78777A

Preview Lab

Preview with #13012B

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

Preview Lab → · Contrast checker → · Palette generator →

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