#130C29#130C29

#130C29 is a very dark, muted violet. Relative luminance 0.006; OKLCH L 18.3% C 0.057 H 290.8°. Best body text is #FFFFFF at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#130C29
RGBrgb(19, 12, 41)
HSLhsl(254, 55%, 10%)
HSVhsv(254, 71%, 16%)
CMYKcmyk(53.7%, 70.7%, 0%, 83.9%)
CIE-LABlab(5.07, 10.92, -17.84)
CIE-LCHlch(5.07, 20.92, 301.46°)
OKLaboklab(18.31% 0.0202 -0.053)
OKLCHoklch(18.31% 0.057 290.8)
XYZxyz(0.8002, 0.5615, 2.1636)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130C29 #22290C
analogous
#0C1329 #130C29 #210C29
triadic
#130C29 #29130C #0C2913
tetradic
#130C29 #290C13 #22290C #0C2921
square
#130C29 #290C13 #22290C #0C2921
split-complementary
#130C29 #29210C #13290C
monochromatic
#0B0718 #0B0718 #130C29 #291A58 #3F2888

Accessibility & contrast

On white

18.88
#130C29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #130C29
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130C29#FFFFFF#000000##FFFFFF
##130C291.0018.881.1118.88
#FFFFFF18.881.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01122A
Deuteranopia (green-blind)
#021028
Tritanopia (blue-blind)
#0D1218
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #130c29;
/* rgb */ color: rgb(19, 12, 41);
/* oklch */ color: oklch(18.3% 0.057 290.8);
Tailwind
colors: {
  custom: {
    50: '#514c63',
    500: '#130c29',
    950: '#000000',
  },
}
SCSS
$custom: #130c29;
$custom-light: #514c63;
$custom-dark: #000000;
JSON
{
  "hex": "#130c29",
  "rgb": {
    "r": 19,
    "g": 12,
    "b": 41
  },
  "hsl": {
    "h": 254.483,
    "s": 54.717,
    "l": 10.392
  },
  "oklch": {
    "l": 0.18308,
    "c": 0.05674,
    "h": 290.8
  },
  "luminance": 0.00561
}

Semantic roles & 50–950 ramp

primary
#130C29
secondary
#57642D
accent
#DE4ABA
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020105
muted
#787779

Preview Lab

Preview with #130C29

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

Preview Lab → · Contrast checker → · Palette generator →

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