#130D2E#130D2E

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

Color values

HEX#130D2E
RGBrgb(19, 13, 46)
HSLhsl(251, 56%, 12%)
HSVhsv(251, 72%, 18%)
CMYKcmyk(58.7%, 71.7%, 0%, 82%)
CIE-LABlab(5.63, 12.75, -20.71)
CIE-LCHlch(5.63, 24.32, 301.62°)
OKLaboklab(18.99% 0.0186 -0.0606)
OKLCHoklch(18.99% 0.063 287.1)
XYZxyz(0.9055, 0.6235, 2.6569)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130D2E #282E0D
analogous
#0D182E #130D2E #240D2E
triadic
#130D2E #2E130D #0D2E13
tetradic
#130D2E #2E0D18 #282E0D #0D2E24
square
#130D2E #2E0D18 #282E0D #0D2E24
split-complementary
#130D2E #2E240D #182E0D
monochromatic
#0A0718 #0A0718 #130D2E #271A5E #3A288D

Accessibility & contrast

On white

18.67
#130D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #130D2E
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130D2E#FFFFFF#000000##FFFFFF
##130D2E1.0018.671.1218.67
#FFFFFF18.671.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #130d2e;
/* rgb */ color: rgb(19, 13, 46);
/* oklch */ color: oklch(19.0% 0.063 287.1);
Tailwind
colors: {
  custom: {
    50: '#534c67',
    500: '#130d2e',
    950: '#000000',
  },
}
SCSS
$custom: #130d2e;
$custom-light: #534c67;
$custom-dark: #000000;
JSON
{
  "hex": "#130d2e",
  "rgb": {
    "r": 19,
    "g": 13,
    "b": 46
  },
  "hsl": {
    "h": 250.909,
    "s": 55.932,
    "l": 11.569
  },
  "oklch": {
    "l": 0.18988,
    "c": 0.06339,
    "h": 287.1
  },
  "luminance": 0.00624
}

Semantic roles & 50–950 ramp

primary
#130D2E
secondary
#5E692E
accent
#DF49C4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #130D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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