#130646#130646

#130646 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.5% C 0.109 H 280.5°. Best body text is #FFFFFF at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#130646
RGBrgb(19, 6, 70)
HSLhsl(252, 84%, 15%)
HSVhsv(252, 91%, 27%)
CMYKcmyk(72.9%, 91.4%, 0%, 72.5%)
CIE-LABlab(6.42, 27.05, -36.83)
CIE-LCHlch(6.42, 45.70, 306.29°)
OKLaboklab(20.48% 0.0198 -0.1069)
OKLCHoklch(20.48% 0.109 280.5)
XYZxyz(1.4388, 0.7108, 5.8545)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130646 #394606
analogous
#061946 #130646 #330646
triadic
#130646 #461306 #064613
tetradic
#130646 #460619 #394606 #064633
square
#130646 #460619 #394606 #064633
split-complementary
#130646 #463306 #194606
monochromatic
#08021C #08021C #130646 #220B7E #3210B7

Accessibility & contrast

On white

18.39
#130646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#130646 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #130646
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130646#FFFFFF#000000##FFFFFF
##1306461.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001648
Deuteranopia (green-blind)
#001245
Tritanopia (blue-blind)
#001A27
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #130646;
/* rgb */ color: rgb(19, 6, 70);
/* oklch */ color: oklch(20.5% 0.109 280.5);
Tailwind
colors: {
  custom: {
    50: '#5a487a',
    500: '#130646',
    950: '#000000',
  },
}
SCSS
$custom: #130646;
$custom-light: #5a487a;
$custom-dark: #000000;
JSON
{
  "hex": "#130646",
  "rgb": {
    "r": 19,
    "g": 6,
    "b": 70
  },
  "hsl": {
    "h": 252.188,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.20478,
    "c": 0.10871,
    "h": 280.5
  },
  "luminance": 0.00711
}

Semantic roles & 50–950 ramp

primary
#130646
secondary
#718522
accent
#FA2DD1
background
#F5F4F7
surface
#E9E6EE
border
#C5C2C9
text
#040009
muted
#79777B

Preview Lab

Preview with #130646

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

Preview Lab → · Contrast checker → · Palette generator →

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