#130540#130540

#130540 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.5% C 0.102 H 283.0°. Best body text is #FFFFFF at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#130540
RGBrgb(19, 5, 64)
HSLhsl(254, 86%, 14%)
HSVhsv(254, 92%, 25%)
CMYKcmyk(70.3%, 92.2%, 0%, 74.9%)
CIE-LABlab(5.57, 24.97, -33.96)
CIE-LCHlch(5.57, 42.15, 306.33°)
OKLaboklab(19.54% 0.023 -0.0994)
OKLCHoklch(19.54% 0.102 283)
XYZxyz(1.2480, 0.6171, 4.9028)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130540 #324005
analogous
#051440 #130540 #300540
triadic
#130540 #401305 #054013
tetradic
#130540 #400514 #324005 #054030
square
#130540 #400514 #324005 #054030
split-complementary
#130540 #403005 #144005
monochromatic
#08021C #08021C #130540 #240979 #350EB2

Accessibility & contrast

On white

18.69
#130540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#130540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #130540
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130540#FFFFFF#000000##FFFFFF
##1305401.0018.691.1218.69
#FFFFFF18.691.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001442
Deuteranopia (green-blind)
#00103F
Tritanopia (blue-blind)
#001723
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #130540;
/* rgb */ color: rgb(19, 5, 64);
/* oklch */ color: oklch(19.5% 0.102 283.0);
Tailwind
colors: {
  custom: {
    50: '#584876',
    500: '#130540',
    950: '#000000',
  },
}
SCSS
$custom: #130540;
$custom-light: #584876;
$custom-dark: #000000;
JSON
{
  "hex": "#130540",
  "rgb": {
    "r": 19,
    "g": 5,
    "b": 64
  },
  "hsl": {
    "h": 254.237,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.19541,
    "c": 0.10203,
    "h": 283
  },
  "luminance": 0.00617
}

Semantic roles & 50–950 ramp

primary
#130540
secondary
#6A8120
accent
#FC2CCA
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #130540

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

Preview Lab → · Contrast checker → · Palette generator →

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