#130340#130340

#130340 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.2% C 0.105 H 283.7°. Best body text is #FFFFFF at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#130340
RGBrgb(19, 3, 64)
HSLhsl(256, 91%, 13%)
HSVhsv(256, 95%, 25%)
CMYKcmyk(70.3%, 95.3%, 0%, 74.9%)
CIE-LABlab(5.18, 25.96, -34.60)
CIE-LCHlch(5.18, 43.26, 306.89°)
OKLaboklab(19.19% 0.0248 -0.1018)
OKLCHoklch(19.19% 0.105 283.7)
XYZxyz(1.2262, 0.5737, 4.8956)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130340 #304003
analogous
#031140 #130340 #310340
triadic
#130340 #401303 #034013
tetradic
#130340 #400311 #304003 #034031
square
#130340 #400311 #304003 #034031
split-complementary
#130340 #403103 #114003
monochromatic
#09011D #09011D #130340 #24067A #3608B5

Accessibility & contrast

On white

18.84
#130340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#130340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #130340
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130340#FFFFFF#000000##FFFFFF
##1303401.0018.841.1118.84
#FFFFFF18.841.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001342
Deuteranopia (green-blind)
#000F3F
Tritanopia (blue-blind)
#001622
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #130340;
/* rgb */ color: rgb(19, 3, 64);
/* oklch */ color: oklch(19.2% 0.105 283.7);
Tailwind
colors: {
  custom: {
    50: '#584776',
    500: '#130340',
    950: '#000000',
  },
}
SCSS
$custom: #130340;
$custom-light: #584776;
$custom-dark: #000000;
JSON
{
  "hex": "#130340",
  "rgb": {
    "r": 19,
    "g": 3,
    "b": 64
  },
  "hsl": {
    "h": 255.738,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.19191,
    "c": 0.10479,
    "h": 283.7
  },
  "luminance": 0.00574
}

Semantic roles & 50–950 ramp

primary
#130340
secondary
#67821D
accent
#FF29C7
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #130340

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

Preview Lab → · Contrast checker → · Palette generator →

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