#130538#130538

#130538 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.5% C 0.091 H 286.7°. Best body text is #FFFFFF at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#130538
RGBrgb(19, 5, 56)
HSLhsl(256, 84%, 12%)
HSVhsv(256, 91%, 22%)
CMYKcmyk(66.1%, 91.1%, 0%, 78%)
CIE-LABlab(4.81, 21.18, -29.42)
CIE-LCHlch(4.81, 36.24, 305.75°)
OKLaboklab(18.53% 0.0263 -0.0874)
OKLCHoklch(18.53% 0.091 286.7)
XYZxyz(1.0364, 0.5325, 3.7888)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130538 #2A3805
analogous
#051038 #130538 #2D0538
triadic
#130538 #381305 #053813
tetradic
#130538 #380510 #2A3805 #05382D
square
#130538 #380510 #2A3805 #05382D
split-complementary
#130538 #382D05 #103805
monochromatic
#0A031C #0A031C #130538 #260A70 #390FA8

Accessibility & contrast

On white

18.98
#130538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #130538
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130538#FFFFFF#000000##FFFFFF
##1305381.0018.981.1118.98
#FFFFFF18.981.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001239
Deuteranopia (green-blind)
#000F37
Tritanopia (blue-blind)
#03131E
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #130538;
/* rgb */ color: rgb(19, 5, 56);
/* oklch */ color: oklch(18.5% 0.091 286.7);
Tailwind
colors: {
  custom: {
    50: '#55486f',
    500: '#130538',
    950: '#000000',
  },
}
SCSS
$custom: #130538;
$custom-light: #55486f;
$custom-dark: #000000;
JSON
{
  "hex": "#130538",
  "rgb": {
    "r": 19,
    "g": 5,
    "b": 56
  },
  "hsl": {
    "h": 256.471,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.18533,
    "c": 0.09131,
    "h": 286.7
  },
  "luminance": 0.00533
}

Semantic roles & 50–950 ramp

primary
#130538
secondary
#617920
accent
#FA2EC2
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #130538

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

Preview Lab → · Contrast checker → · Palette generator →

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