#130C2C#130C2C

#130C2C is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.6% C 0.062 H 289.0°. Best body text is #FFFFFF at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#130C2C
RGBrgb(19, 12, 44)
HSLhsl(253, 57%, 11%)
HSVhsv(253, 73%, 17%)
CMYKcmyk(56.8%, 72.7%, 0%, 82.7%)
CIE-LABlab(5.27, 12.29, -19.79)
CIE-LCHlch(5.27, 23.30, 301.85°)
OKLaboklab(18.58% 0.0201 -0.0584)
OKLCHoklch(18.58% 0.062 289)
XYZxyz(0.8545, 0.5832, 2.4499)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130C2C #252C0C
analogous
#0C152C #130C2C #230C2C
triadic
#130C2C #2C130C #0C2C13
tetradic
#130C2C #2C0C15 #252C0C #0C2C23
square
#130C2C #2C0C15 #252C0C #0C2C23
split-complementary
#130C2C #2C230C #152C0C
monochromatic
#0A0718 #0A0718 #130C2C #28195C #3D268C

Accessibility & contrast

On white

18.81
#130C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #130C2C
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130C2C#FFFFFF#000000##FFFFFF
##130C2C1.0018.811.1218.81
#FFFFFF18.811.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122D
Deuteranopia (green-blind)
#00112B
Tritanopia (blue-blind)
#0B131A
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #130c2c;
/* rgb */ color: rgb(19, 12, 44);
/* oklch */ color: oklch(18.6% 0.062 289.0);
Tailwind
colors: {
  custom: {
    50: '#524c65',
    500: '#130c2c',
    950: '#000000',
  },
}
SCSS
$custom: #130c2c;
$custom-light: #524c65;
$custom-dark: #000000;
JSON
{
  "hex": "#130c2c",
  "rgb": {
    "r": 19,
    "g": 12,
    "b": 44
  },
  "hsl": {
    "h": 253.125,
    "s": 57.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.18585,
    "c": 0.0618,
    "h": 289
  },
  "luminance": 0.00583
}

Semantic roles & 50–950 ramp

primary
#130C2C
secondary
#5B672C
accent
#E047BF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #130C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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