#130D27#130D27

#130D27 is a very dark, muted violet. Relative luminance 0.006; OKLCH L 18.4% C 0.051 H 291.1°. Best body text is #FFFFFF at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#130D27
RGBrgb(19, 13, 39)
HSLhsl(254, 50%, 10%)
HSVhsv(254, 67%, 15%)
CMYKcmyk(51.3%, 66.7%, 0%, 84.7%)
CIE-LABlab(5.17, 9.59, -16.16)
CIE-LCHlch(5.17, 18.79, 300.69°)
OKLaboklab(18.36% 0.0185 -0.0479)
OKLCHoklch(18.36% 0.051 291.1)
XYZxyz(0.7786, 0.5728, 1.9886)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130D27 #21270D
analogous
#0D1427 #130D27 #200D27
triadic
#130D27 #27130D #0D2713
tetradic
#130D27 #270D14 #21270D #0D2720
square
#130D27 #270D14 #21270D #0D2720
split-complementary
#130D27 #27200D #14270D
monochromatic
#0B0817 #0B0817 #130D27 #291C55 #402C83

Accessibility & contrast

On white

18.84
#130D27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#130D27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #130D27
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130D27#FFFFFF#000000##FFFFFF
##130D271.0018.841.1118.84
#FFFFFF18.841.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041228
Deuteranopia (green-blind)
#041126
Tritanopia (blue-blind)
#0E1218
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #130d27;
/* rgb */ color: rgb(19, 13, 39);
/* oklch */ color: oklch(18.4% 0.051 291.1);
Tailwind
colors: {
  custom: {
    50: '#514c61',
    500: '#130d27',
    950: '#000000',
  },
}
SCSS
$custom: #130d27;
$custom-light: #514c61;
$custom-dark: #000000;
JSON
{
  "hex": "#130d27",
  "rgb": {
    "r": 19,
    "g": 13,
    "b": 39
  },
  "hsl": {
    "h": 253.846,
    "s": 50,
    "l": 10.196
  },
  "oklch": {
    "l": 0.18357,
    "c": 0.05136,
    "h": 291.1
  },
  "luminance": 0.00573
}

Semantic roles & 50–950 ramp

primary
#130D27
secondary
#55612F
accent
#DA4EB9
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020105
muted
#787779

Preview Lab

Preview with #130D27

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

Preview Lab → · Contrast checker → · Palette generator →

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