#130C27#130C27

#130C27 is a very dark, muted violet. Relative luminance 0.005; OKLCH L 18.1% C 0.053 H 292.2°. Best body text is #FFFFFF at 18.93:1 contrast (WCAG AA passes).

Color values

HEX#130C27
RGBrgb(19, 12, 39)
HSLhsl(256, 53%, 10%)
HSVhsv(256, 69%, 15%)
CMYKcmyk(51.3%, 69.2%, 0%, 84.7%)
CIE-LABlab(4.95, 10.05, -16.51)
CIE-LCHlch(4.95, 19.33, 301.32°)
OKLaboklab(18.13% 0.0201 -0.0493)
OKLCHoklch(18.13% 0.053 292.2)
XYZxyz(0.7661, 0.5479, 1.9844)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130C27 #20270C
analogous
#0C1227 #130C27 #210C27
triadic
#130C27 #27130C #0C2713
tetradic
#130C27 #270C12 #20270C #0C2721
square
#130C27 #270C12 #20270C #0C2721
split-complementary
#130C27 #27210C #12270C
monochromatic
#0B0717 #0B0717 #130C27 #2A1A56 #412985

Accessibility & contrast

On white

18.93
#130C27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #130C27
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130C27#FFFFFF#000000##FFFFFF
##130C271.0018.931.1118.93
#FFFFFF18.931.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021128
Deuteranopia (green-blind)
#031026
Tritanopia (blue-blind)
#0E1217
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #130c27;
/* rgb */ color: rgb(19, 12, 39);
/* oklch */ color: oklch(18.1% 0.053 292.2);
Tailwind
colors: {
  custom: {
    50: '#514c61',
    500: '#130c27',
    950: '#000000',
  },
}
SCSS
$custom: #130c27;
$custom-light: #514c61;
$custom-dark: #000000;
JSON
{
  "hex": "#130c27",
  "rgb": {
    "r": 19,
    "g": 12,
    "b": 39
  },
  "hsl": {
    "h": 255.556,
    "s": 52.941,
    "l": 10
  },
  "oklch": {
    "l": 0.1813,
    "c": 0.0533,
    "h": 292.2
  },
  "luminance": 0.00548
}

Semantic roles & 50–950 ramp

primary
#130C27
secondary
#54622D
accent
#DC4BB7
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020105
muted
#787779

Preview Lab

Preview with #130C27

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

Preview Lab → · Contrast checker → · Palette generator →

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