#130638#130638

#130638 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.7% C 0.090 H 286.3°. Best body text is #FFFFFF at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#130638
RGBrgb(19, 6, 56)
HSLhsl(256, 81%, 12%)
HSVhsv(256, 89%, 22%)
CMYKcmyk(66.1%, 89.3%, 0%, 78%)
CIE-LABlab(5.01, 20.72, -29.10)
CIE-LCHlch(5.01, 35.72, 305.45°)
OKLaboklab(18.72% 0.0251 -0.0862)
OKLCHoklch(18.72% 0.09 286.3)
XYZxyz(1.0473, 0.5542, 3.7924)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130638 #2B3806
analogous
#061238 #130638 #2C0638
triadic
#130638 #381306 #063813
tetradic
#130638 #380612 #2B3806 #06382C
square
#130638 #380612 #2B3806 #06382C
split-complementary
#130638 #382C06 #123806
monochromatic
#09031C #09031C #130638 #260C6F #3912A7

Accessibility & contrast

On white

18.91
#130638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #130638
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130638#FFFFFF#000000##FFFFFF
##1306381.0018.911.1118.91
#FFFFFF18.911.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #130638;
/* rgb */ color: rgb(19, 6, 56);
/* oklch */ color: oklch(18.7% 0.090 286.3);
Tailwind
colors: {
  custom: {
    50: '#55486f',
    500: '#130638',
    950: '#000000',
  },
}
SCSS
$custom: #130638;
$custom-light: #55486f;
$custom-dark: #000000;
JSON
{
  "hex": "#130638",
  "rgb": {
    "r": 19,
    "g": 6,
    "b": 56
  },
  "hsl": {
    "h": 255.6,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.18722,
    "c": 0.08976,
    "h": 286.3
  },
  "luminance": 0.00554
}

Semantic roles & 50–950 ramp

primary
#130638
secondary
#627821
accent
#F731C3
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #130638

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

Preview Lab → · Contrast checker → · Palette generator →

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