#130C2E#130C2E

#130C2E is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.8% C 0.065 H 287.9°. Best body text is #FFFFFF at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#130C2E
RGBrgb(19, 12, 46)
HSLhsl(252, 59%, 11%)
HSVhsv(252, 74%, 18%)
CMYKcmyk(58.7%, 73.9%, 0%, 82%)
CIE-LABlab(5.41, 13.23, -21.07)
CIE-LCHlch(5.41, 24.88, 302.13°)
OKLaboklab(18.78% 0.02 -0.062)
OKLCHoklch(18.78% 0.065 287.9)
XYZxyz(0.8930, 0.5986, 2.6527)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130C2E #272E0C
analogous
#0C162E #130C2E #240C2E
triadic
#130C2E #2E130C #0C2E13
tetradic
#130C2E #2E0C16 #272E0C #0C2E24
square
#130C2E #2E0C16 #272E0C #0C2E24
split-complementary
#130C2E #2E240C #162E0C
monochromatic
#0A0618 #0A0618 #130C2E #27195F #3B258F

Accessibility & contrast

On white

18.75
#130C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #130C2E
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130C2E#FFFFFF#000000##FFFFFF
##130C2E1.0018.751.1218.75
#FFFFFF18.751.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132F
Deuteranopia (green-blind)
#00112D
Tritanopia (blue-blind)
#0A141B
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #130c2e;
/* rgb */ color: rgb(19, 12, 46);
/* oklch */ color: oklch(18.8% 0.065 287.9);
Tailwind
colors: {
  custom: {
    50: '#534c67',
    500: '#130c2e',
    950: '#000000',
  },
}
SCSS
$custom: #130c2e;
$custom-light: #534c67;
$custom-dark: #000000;
JSON
{
  "hex": "#130c2e",
  "rgb": {
    "r": 19,
    "g": 12,
    "b": 46
  },
  "hsl": {
    "h": 252.353,
    "s": 58.621,
    "l": 11.373
  },
  "oklch": {
    "l": 0.18777,
    "c": 0.06513,
    "h": 287.9
  },
  "luminance": 0.00599
}

Semantic roles & 50–950 ramp

primary
#130C2E
secondary
#5D6A2C
accent
#E246C2
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #130C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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