#130C32#130C32

#130C32 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.2% C 0.072 H 285.9°. Best body text is #FFFFFF at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#130C32
RGBrgb(19, 12, 50)
HSLhsl(251, 61%, 12%)
HSVhsv(251, 76%, 20%)
CMYKcmyk(62%, 76%, 0%, 80.4%)
CIE-LABlab(5.71, 15.11, -23.57)
CIE-LCHlch(5.71, 27.99, 302.66°)
OKLaboklab(19.17% 0.0197 -0.0689)
OKLCHoklch(19.17% 0.072 285.9)
XYZxyz(0.9756, 0.6316, 3.0875)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130C32 #2B320C
analogous
#0C1832 #130C32 #260C32
triadic
#130C32 #32130C #0C3213
tetradic
#130C32 #320C18 #2B320C #0C3226
square
#130C32 #320C18 #2B320C #0C3226
split-complementary
#130C32 #32260C #18320C
monochromatic
#090619 #090619 #130C32 #261863 #392495

Accessibility & contrast

On white

18.64
#130C32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #130C32
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130C32#FFFFFF#000000##FFFFFF
##130C321.0018.641.1318.64
#FFFFFF18.641.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001433
Deuteranopia (green-blind)
#001131
Tritanopia (blue-blind)
#07151D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #130c32;
/* rgb */ color: rgb(19, 12, 50);
/* oklch */ color: oklch(19.2% 0.072 285.9);
Tailwind
colors: {
  custom: {
    50: '#544b6a',
    500: '#130c32',
    950: '#000000',
  },
}
SCSS
$custom: #130c32;
$custom-light: #544b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#130c32",
  "rgb": {
    "r": 19,
    "g": 12,
    "b": 50
  },
  "hsl": {
    "h": 251.053,
    "s": 61.29,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19174,
    "c": 0.07164,
    "h": 285.9
  },
  "luminance": 0.00632
}

Semantic roles & 50–950 ramp

primary
#130C32
secondary
#626E2C
accent
#E443C7
background
#F4F4F6
surface
#E8E7EB
border
#C4C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #130C32

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

Preview Lab → · Contrast checker → · Palette generator →

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