#130336#130336

#130336 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.9% C 0.092 H 288.7°. Best body text is #FFFFFF at 19.20:1 contrast (WCAG AA passes).

Color values

HEX#130336
RGBrgb(19, 3, 54)
HSLhsl(259, 89%, 11%)
HSVhsv(259, 94%, 21%)
CMYKcmyk(64.8%, 94.4%, 0%, 78.8%)
CIE-LABlab(4.24, 21.07, -28.86)
CIE-LCHlch(4.24, 35.74, 306.13°)
OKLaboklab(17.89% 0.0296 -0.0871)
OKLCHoklch(17.89% 0.092 288.7)
XYZxyz(0.9668, 0.4699, 3.5291)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130336 #263603
analogous
#030C36 #130336 #2C0336
triadic
#130336 #361303 #033613
tetradic
#130336 #36030C #263603 #03362C
square
#130336 #36030C #263603 #03362C
split-complementary
#130336 #362C03 #0C3603
monochromatic
#0A021D #0A021D #130336 #270670 #3C09AA

Accessibility & contrast

On white

19.20
#130336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#130336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #130336
19.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130336#FFFFFF#000000##FFFFFF
##1303361.0019.201.0919.20
#FFFFFF19.201.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001037
Deuteranopia (green-blind)
#000D35
Tritanopia (blue-blind)
#05111C
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #130336;
/* rgb */ color: rgb(19, 3, 54);
/* oklch */ color: oklch(17.9% 0.092 288.7);
Tailwind
colors: {
  custom: {
    50: '#55476d',
    500: '#130336',
    950: '#000000',
  },
}
SCSS
$custom: #130336;
$custom-light: #55476d;
$custom-dark: #000000;
JSON
{
  "hex": "#130336",
  "rgb": {
    "r": 19,
    "g": 3,
    "b": 54
  },
  "hsl": {
    "h": 258.824,
    "s": 89.474,
    "l": 11.176
  },
  "oklch": {
    "l": 0.17888,
    "c": 0.09199,
    "h": 288.7
  },
  "luminance": 0.0047
}

Semantic roles & 50–950 ramp

primary
#130336
secondary
#5C791C
accent
#FF29BC
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #130336

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

Preview Lab → · Contrast checker → · Palette generator →

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