#130C2F#130C2F

#130C2F is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.9% C 0.067 H 287.4°. Best body text is #FFFFFF at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#130C2F
RGBrgb(19, 12, 47)
HSLhsl(252, 59%, 12%)
HSVhsv(252, 74%, 18%)
CMYKcmyk(59.6%, 74.5%, 0%, 81.6%)
CIE-LABlab(5.48, 13.70, -21.70)
CIE-LCHlch(5.48, 25.67, 302.27°)
OKLaboklab(18.87% 0.02 -0.0637)
OKLCHoklch(18.87% 0.067 287.4)
XYZxyz(0.9130, 0.6066, 2.7577)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130C2F #282F0C
analogous
#0C172F #130C2F #250C2F
triadic
#130C2F #2F130C #0C2F13
tetradic
#130C2F #2F0C17 #282F0C #0C2F25
square
#130C2F #2F0C17 #282F0C #0C2F25
split-complementary
#130C2F #2F250C #172F0C
monochromatic
#0A0618 #0A0618 #130C2F #271860 #3A2591

Accessibility & contrast

On white

18.73
#130C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #130C2F
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130C2F#FFFFFF#000000##FFFFFF
##130C2F1.0018.731.1218.73
#FFFFFF18.731.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001330
Deuteranopia (green-blind)
#00112E
Tritanopia (blue-blind)
#09141B
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #130c2f;
/* rgb */ color: rgb(19, 12, 47);
/* oklch */ color: oklch(18.9% 0.067 287.4);
Tailwind
colors: {
  custom: {
    50: '#534c68',
    500: '#130c2f',
    950: '#000000',
  },
}
SCSS
$custom: #130c2f;
$custom-light: #534c68;
$custom-dark: #000000;
JSON
{
  "hex": "#130c2f",
  "rgb": {
    "r": 19,
    "g": 12,
    "b": 47
  },
  "hsl": {
    "h": 252,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.18874,
    "c": 0.06677,
    "h": 287.4
  },
  "luminance": 0.00607
}

Semantic roles & 50–950 ramp

primary
#130C2F
secondary
#5E6B2C
accent
#E345C3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #130C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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