#130542#130542

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

Color values

HEX#130542
RGBrgb(19, 5, 66)
HSLhsl(254, 86%, 14%)
HSVhsv(254, 92%, 26%)
CMYKcmyk(71.2%, 92.4%, 0%, 74.1%)
CIE-LABlab(5.78, 25.86, -35.04)
CIE-LCHlch(5.78, 43.55, 306.43°)
OKLaboklab(19.8% 0.0222 -0.1023)
OKLCHoklch(19.8% 0.105 282.2)
XYZxyz(1.3059, 0.6402, 5.2080)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130542 #344205
analogous
#051642 #130542 #320542
triadic
#130542 #421305 #054213
tetradic
#130542 #420516 #344205 #054232
square
#130542 #420516 #344205 #054232
split-complementary
#130542 #423205 #164205
monochromatic
#08021C #08021C #130542 #23097B #340EB4

Accessibility & contrast

On white

18.62
#130542 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #130542
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130542#FFFFFF#000000##FFFFFF
##1305421.0018.621.1318.62
#FFFFFF18.621.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001544
Deuteranopia (green-blind)
#001141
Tritanopia (blue-blind)
#001824
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #130542;
/* rgb */ color: rgb(19, 5, 66);
/* oklch */ color: oklch(19.8% 0.105 282.2);
Tailwind
colors: {
  custom: {
    50: '#594877',
    500: '#130542',
    950: '#000000',
  },
}
SCSS
$custom: #130542;
$custom-light: #594877;
$custom-dark: #000000;
JSON
{
  "hex": "#130542",
  "rgb": {
    "r": 19,
    "g": 5,
    "b": 66
  },
  "hsl": {
    "h": 253.77,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.19799,
    "c": 0.10467,
    "h": 282.2
  },
  "luminance": 0.0064
}

Semantic roles & 50–950 ramp

primary
#130542
secondary
#6C8220
accent
#FC2CCC
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040009
muted
#79777B

Preview Lab

Preview with #130542

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

Preview Lab → · Contrast checker → · Palette generator →

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