#130C34#130C34

#130C34 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.4% C 0.075 H 285.0°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#130C34
RGBrgb(19, 12, 52)
HSLhsl(251, 63%, 13%)
HSVhsv(251, 77%, 20%)
CMYKcmyk(63.5%, 76.9%, 0%, 79.6%)
CIE-LABlab(5.87, 16.03, -24.78)
CIE-LCHlch(5.87, 29.51, 302.90°)
OKLaboklab(19.38% 0.0194 -0.0723)
OKLCHoklch(19.38% 0.075 285)
XYZxyz(1.0197, 0.6493, 3.3197)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130C34 #2D340C
analogous
#0C1934 #130C34 #270C34
triadic
#130C34 #34130C #0C3413
tetradic
#130C34 #340C19 #2D340C #0C3427
square
#130C34 #340C19 #2D340C #0C3427
split-complementary
#130C34 #34270C #19340C
monochromatic
#090619 #090619 #130C34 #251766 #372397

Accessibility & contrast

On white

18.59
#130C34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#130C34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #130C34
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130C34#FFFFFF#000000##FFFFFF
##130C341.0018.591.1318.59
#FFFFFF18.591.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001435
Deuteranopia (green-blind)
#001233
Tritanopia (blue-blind)
#06161E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #130c34;
/* rgb */ color: rgb(19, 12, 52);
/* oklch */ color: oklch(19.4% 0.075 285.0);
Tailwind
colors: {
  custom: {
    50: '#544b6c',
    500: '#130c34',
    950: '#000000',
  },
}
SCSS
$custom: #130c34;
$custom-light: #544b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#130c34",
  "rgb": {
    "r": 19,
    "g": 12,
    "b": 52
  },
  "hsl": {
    "h": 250.5,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.19379,
    "c": 0.07483,
    "h": 285
  },
  "luminance": 0.00649
}

Semantic roles & 50–950 ramp

primary
#130C34
secondary
#64702C
accent
#E642C9
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #130C34

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

Preview Lab → · Contrast checker → · Palette generator →

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