#130C2D#130C2D

#130C2D is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.7% C 0.063 H 288.5°. Best body text is #FFFFFF at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#130C2D
RGBrgb(19, 12, 45)
HSLhsl(253, 58%, 11%)
HSVhsv(253, 73%, 18%)
CMYKcmyk(57.8%, 73.3%, 0%, 82.4%)
CIE-LABlab(5.34, 12.76, -20.43)
CIE-LCHlch(5.34, 24.09, 301.99°)
OKLaboklab(18.68% 0.0201 -0.0602)
OKLCHoklch(18.68% 0.063 288.5)
XYZxyz(0.8735, 0.5908, 2.5501)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130C2D #262D0C
analogous
#0C152D #130C2D #230C2D
triadic
#130C2D #2D130C #0C2D13
tetradic
#130C2D #2D0C15 #262D0C #0C2D23
square
#130C2D #2D0C15 #262D0C #0C2D23
split-complementary
#130C2D #2D230C #152D0C
monochromatic
#0A0618 #0A0618 #130C2D #27195D #3C268E

Accessibility & contrast

On white

18.78
#130C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #130C2D
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130C2D#FFFFFF#000000##FFFFFF
##130C2D1.0018.781.1218.78
#FFFFFF18.781.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122E
Deuteranopia (green-blind)
#00112C
Tritanopia (blue-blind)
#0B141A
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #130c2d;
/* rgb */ color: rgb(19, 12, 45);
/* oklch */ color: oklch(18.7% 0.063 288.5);
Tailwind
colors: {
  custom: {
    50: '#524c66',
    500: '#130c2d',
    950: '#000000',
  },
}
SCSS
$custom: #130c2d;
$custom-light: #524c66;
$custom-dark: #000000;
JSON
{
  "hex": "#130c2d",
  "rgb": {
    "r": 19,
    "g": 12,
    "b": 45
  },
  "hsl": {
    "h": 252.727,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.1868,
    "c": 0.06347,
    "h": 288.5
  },
  "luminance": 0.00591
}

Semantic roles & 50–950 ramp

primary
#130C2D
secondary
#5C692C
accent
#E147C0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #130C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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