#130548#130548

#130548 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.6% C 0.113 H 280.1°. Best body text is #FFFFFF at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#130548
RGBrgb(19, 5, 72)
HSLhsl(253, 87%, 15%)
HSVhsv(253, 93%, 28%)
CMYKcmyk(73.6%, 93.1%, 0%, 71.8%)
CIE-LABlab(6.46, 28.41, -38.18)
CIE-LCHlch(6.46, 47.59, 306.65°)
OKLaboklab(20.59% 0.0197 -0.1108)
OKLCHoklch(20.59% 0.113 280.1)
XYZxyz(1.4922, 0.7147, 6.1890)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130548 #3A4805
analogous
#051948 #130548 #340548
triadic
#130548 #481305 #054813
tetradic
#130548 #480519 #3A4805 #054834
square
#130548 #480519 #3A4805 #054834
split-complementary
#130548 #483405 #194805
monochromatic
#08021D #08021D #130548 #220981 #310DBA

Accessibility & contrast

On white

18.37
#130548 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #130548
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130548#FFFFFF#000000##FFFFFF
##1305481.0018.371.1418.37
#FFFFFF18.371.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00174A
Deuteranopia (green-blind)
#001247
Tritanopia (blue-blind)
#001A28
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #130548;
/* rgb */ color: rgb(19, 5, 72);
/* oklch */ color: oklch(20.6% 0.113 280.1);
Tailwind
colors: {
  custom: {
    50: '#5b487c',
    500: '#130548',
    950: '#000000',
  },
}
SCSS
$custom: #130548;
$custom-light: #5b487c;
$custom-dark: #000000;
JSON
{
  "hex": "#130548",
  "rgb": {
    "r": 19,
    "g": 5,
    "b": 72
  },
  "hsl": {
    "h": 252.537,
    "s": 87.013,
    "l": 15.098
  },
  "oklch": {
    "l": 0.20585,
    "c": 0.1125,
    "h": 280.1
  },
  "luminance": 0.00715
}

Semantic roles & 50–950 ramp

primary
#130548
secondary
#728821
accent
#FD2BD1
background
#F5F4F7
surface
#E9E6EE
border
#C5C2C9
text
#040009
muted
#79777B

Preview Lab

Preview with #130548

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

Preview Lab → · Contrast checker → · Palette generator →

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