#130C2B#130C2B

#130C2B is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.5% C 0.060 H 289.6°. Best body text is #FFFFFF at 18.83:1 contrast (WCAG AA passes).

Color values

HEX#130C2B
RGBrgb(19, 12, 43)
HSLhsl(254, 56%, 11%)
HSVhsv(254, 72%, 17%)
CMYKcmyk(55.8%, 72.1%, 0%, 83.1%)
CIE-LABlab(5.20, 11.83, -19.15)
CIE-LCHlch(5.20, 22.51, 301.70°)
OKLaboklab(18.49% 0.0202 -0.0566)
OKLCHoklch(18.49% 0.06 289.6)
XYZxyz(0.8360, 0.5758, 2.3521)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130C2B #242B0C
analogous
#0C142B #130C2B #220C2B
triadic
#130C2B #2B130C #0C2B13
tetradic
#130C2B #2B0C14 #242B0C #0C2B22
square
#130C2B #2B0C14 #242B0C #0C2B22
split-complementary
#130C2B #2B220C #142B0C
monochromatic
#0B0718 #0B0718 #130C2B #28195B #3D278B

Accessibility & contrast

On white

18.83
#130C2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #130C2B
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130C2B#FFFFFF#000000##FFFFFF
##130C2B1.0018.831.1218.83
#FFFFFF18.831.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122C
Deuteranopia (green-blind)
#00112A
Tritanopia (blue-blind)
#0C1319
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #130c2b;
/* rgb */ color: rgb(19, 12, 43);
/* oklch */ color: oklch(18.5% 0.060 289.6);
Tailwind
colors: {
  custom: {
    50: '#524c64',
    500: '#130c2b',
    950: '#000000',
  },
}
SCSS
$custom: #130c2b;
$custom-light: #524c64;
$custom-dark: #000000;
JSON
{
  "hex": "#130c2b",
  "rgb": {
    "r": 19,
    "g": 12,
    "b": 43
  },
  "hsl": {
    "h": 253.548,
    "s": 56.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.18492,
    "c": 0.06012,
    "h": 289.6
  },
  "luminance": 0.00576
}

Semantic roles & 50–950 ramp

primary
#130C2B
secondary
#59662C
accent
#E048BD
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #130C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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