#130C30#130C30

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

Color values

HEX#130C30
RGBrgb(19, 12, 48)
HSLhsl(252, 60%, 12%)
HSVhsv(252, 75%, 19%)
CMYKcmyk(60.4%, 75%, 0%, 81.2%)
CIE-LABlab(5.55, 14.17, -22.33)
CIE-LCHlch(5.55, 26.45, 302.41°)
OKLaboklab(18.97% 0.0199 -0.0654)
OKLCHoklch(18.97% 0.068 286.9)
XYZxyz(0.9334, 0.6147, 2.8652)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130C30 #29300C
analogous
#0C1730 #130C30 #250C30
triadic
#130C30 #30130C #0C3013
tetradic
#130C30 #300C17 #29300C #0C3025
square
#130C30 #300C17 #29300C #0C3025
split-complementary
#130C30 #30250C #17300C
monochromatic
#0A0618 #0A0618 #130C30 #261861 #3A2492

Accessibility & contrast

On white

18.70
#130C30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #130C30
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130C30#FFFFFF#000000##FFFFFF
##130C301.0018.701.1218.70
#FFFFFF18.701.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001331
Deuteranopia (green-blind)
#00112F
Tritanopia (blue-blind)
#09151C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #130c30;
/* rgb */ color: rgb(19, 12, 48);
/* oklch */ color: oklch(19.0% 0.068 286.9);
Tailwind
colors: {
  custom: {
    50: '#534b68',
    500: '#130c30',
    950: '#000000',
  },
}
SCSS
$custom: #130c30;
$custom-light: #534b68;
$custom-dark: #000000;
JSON
{
  "hex": "#130c30",
  "rgb": {
    "r": 19,
    "g": 12,
    "b": 48
  },
  "hsl": {
    "h": 251.667,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.18973,
    "c": 0.0684,
    "h": 286.9
  },
  "luminance": 0.00615
}

Semantic roles & 50–950 ramp

primary
#130C30
secondary
#5F6C2C
accent
#E345C4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #130C30

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

Preview Lab → · Contrast checker → · Palette generator →

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