#130C31#130C31

#130C31 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.1% C 0.070 H 286.4°. Best body text is #FFFFFF at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#130C31
RGBrgb(19, 12, 49)
HSLhsl(251, 61%, 12%)
HSVhsv(251, 76%, 19%)
CMYKcmyk(61.2%, 75.5%, 0%, 80.8%)
CIE-LABlab(5.63, 14.64, -22.95)
CIE-LCHlch(5.63, 27.22, 302.53°)
OKLaboklab(19.07% 0.0198 -0.0672)
OKLCHoklch(19.07% 0.07 286.4)
XYZxyz(0.9542, 0.6231, 2.9751)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130C31 #2A310C
analogous
#0C1831 #130C31 #260C31
triadic
#130C31 #31130C #0C3113
tetradic
#130C31 #310C18 #2A310C #0C3126
square
#130C31 #310C18 #2A310C #0C3126
split-complementary
#130C31 #31260C #18310C
monochromatic
#0A0619 #0A0619 #130C31 #261862 #392493

Accessibility & contrast

On white

18.67
#130C31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#130C31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #130C31
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130C31#FFFFFF#000000##FFFFFF
##130C311.0018.671.1218.67
#FFFFFF18.671.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001332
Deuteranopia (green-blind)
#001130
Tritanopia (blue-blind)
#08151C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #130c31;
/* rgb */ color: rgb(19, 12, 49);
/* oklch */ color: oklch(19.1% 0.070 286.4);
Tailwind
colors: {
  custom: {
    50: '#534b69',
    500: '#130c31',
    950: '#000000',
  },
}
SCSS
$custom: #130c31;
$custom-light: #534b69;
$custom-dark: #000000;
JSON
{
  "hex": "#130c31",
  "rgb": {
    "r": 19,
    "g": 12,
    "b": 49
  },
  "hsl": {
    "h": 251.351,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19073,
    "c": 0.07003,
    "h": 286.4
  },
  "luminance": 0.00623
}

Semantic roles & 50–950 ramp

primary
#130C31
secondary
#616D2C
accent
#E444C6
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #130C31

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

Preview Lab → · Contrast checker → · Palette generator →

#130C31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva