#130D2C#130D2C

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

Color values

HEX#130D2C
RGBrgb(19, 13, 44)
HSLhsl(252, 54%, 11%)
HSVhsv(252, 70%, 17%)
CMYKcmyk(56.8%, 70.5%, 0%, 82.7%)
CIE-LABlab(5.49, 11.83, -19.44)
CIE-LCHlch(5.49, 22.75, 301.32°)
OKLaboklab(18.8% 0.0187 -0.057)
OKLCHoklch(18.8% 0.06 288.1)
XYZxyz(0.8670, 0.6081, 2.4541)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130D2C #262C0D
analogous
#0D162C #130D2C #220D2C
triadic
#130D2C #2C130D #0D2C13
tetradic
#130D2C #2C0D16 #262C0D #0D2C22
square
#130D2C #2C0D16 #262C0D #0D2C22
split-complementary
#130D2C #2C220D #162C0D
monochromatic
#0A0718 #0A0718 #130D2C #271B5B #3C298A

Accessibility & contrast

On white

18.72
#130D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #130D2C
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130D2C#FFFFFF#000000##FFFFFF
##130D2C1.0018.721.1218.72
#FFFFFF18.721.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #130d2c;
/* rgb */ color: rgb(19, 13, 44);
/* oklch */ color: oklch(18.8% 0.060 288.1);
Tailwind
colors: {
  custom: {
    50: '#524c65',
    500: '#130d2c',
    950: '#000000',
  },
}
SCSS
$custom: #130d2c;
$custom-light: #524c65;
$custom-dark: #000000;
JSON
{
  "hex": "#130d2c",
  "rgb": {
    "r": 19,
    "g": 13,
    "b": 44
  },
  "hsl": {
    "h": 251.613,
    "s": 54.386,
    "l": 11.176
  },
  "oklch": {
    "l": 0.18801,
    "c": 0.06002,
    "h": 288.1
  },
  "luminance": 0.00608
}

Semantic roles & 50–950 ramp

primary
#130D2C
secondary
#5C672E
accent
#DE4AC1
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #130D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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