#130346#130346

#130346 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 20.0% C 0.112 H 281.3°. Best body text is #FFFFFF at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#130346
RGBrgb(19, 3, 70)
HSLhsl(254, 92%, 14%)
HSVhsv(254, 96%, 27%)
CMYKcmyk(72.9%, 95.7%, 0%, 72.5%)
CIE-LABlab(5.83, 28.64, -37.80)
CIE-LCHlch(5.83, 47.42, 307.15°)
OKLaboklab(20% 0.022 -0.1102)
OKLCHoklch(20% 0.112 281.3)
XYZxyz(1.4063, 0.6457, 5.8437)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130346 #364603
analogous
#031546 #130346 #350346
triadic
#130346 #461303 #034613
tetradic
#130346 #460315 #364603 #034635
square
#130346 #460315 #364603 #034635
split-complementary
#130346 #463503 #154603
monochromatic
#08011D #08011D #130346 #230681 #3308BB

Accessibility & contrast

On white

18.60
#130346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#130346 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #130346
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130346#FFFFFF#000000##FFFFFF
##1303461.0018.601.1318.60
#FFFFFF18.601.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001548
Deuteranopia (green-blind)
#001045
Tritanopia (blue-blind)
#001826
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #130346;
/* rgb */ color: rgb(19, 3, 70);
/* oklch */ color: oklch(20.0% 0.112 281.3);
Tailwind
colors: {
  custom: {
    50: '#5a477a',
    500: '#130346',
    950: '#000000',
  },
}
SCSS
$custom: #130346;
$custom-light: #5a477a;
$custom-dark: #000000;
JSON
{
  "hex": "#130346",
  "rgb": {
    "r": 19,
    "g": 3,
    "b": 70
  },
  "hsl": {
    "h": 254.328,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.19999,
    "c": 0.11236,
    "h": 281.3
  },
  "luminance": 0.00646
}

Semantic roles & 50–950 ramp

primary
#130346
secondary
#6E871D
accent
#FF29CC
background
#F5F4F7
surface
#E9E6EE
border
#C5C2C9
text
#040009
muted
#79777B

Preview Lab

Preview with #130346

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

Preview Lab → · Contrast checker → · Palette generator →

#130346 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva