#130A40#130A40

#130A40 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.4% C 0.096 H 281.3°. Best body text is #FFFFFF at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#130A40
RGBrgb(19, 10, 64)
HSLhsl(250, 73%, 15%)
HSVhsv(250, 84%, 25%)
CMYKcmyk(70.3%, 84.4%, 0%, 74.9%)
CIE-LABlab(6.55, 22.43, -32.35)
CIE-LCHlch(6.55, 39.37, 304.73°)
OKLaboklab(20.36% 0.0188 -0.0938)
OKLCHoklch(20.36% 0.096 281.3)
XYZxyz(1.3022, 0.7256, 4.9209)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130A40 #37400A
analogous
#0A1C40 #130A40 #2E0A40
triadic
#130A40 #40130A #0A4013
tetradic
#130A40 #400A1C #37400A #0A402E
square
#130A40 #400A1C #37400A #0A402E
split-complementary
#130A40 #402E0A #1C400A
monochromatic
#08041A #08041A #130A40 #231275 #321BAA

Accessibility & contrast

On white

18.34
#130A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#130A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #130A40
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130A40#FFFFFF#000000##FFFFFF
##130A401.0018.341.1518.34
#FFFFFF18.341.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001642
Deuteranopia (green-blind)
#00133F
Tritanopia (blue-blind)
#001924
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #130a40;
/* rgb */ color: rgb(19, 10, 64);
/* oklch */ color: oklch(20.4% 0.096 281.3);
Tailwind
colors: {
  custom: {
    50: '#584a75',
    500: '#130a40',
    950: '#000000',
  },
}
SCSS
$custom: #130a40;
$custom-light: #584a75;
$custom-dark: #000000;
JSON
{
  "hex": "#130a40",
  "rgb": {
    "r": 19,
    "g": 10,
    "b": 64
  },
  "hsl": {
    "h": 250,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.20363,
    "c": 0.09566,
    "h": 281.3
  },
  "luminance": 0.00726
}

Semantic roles & 50–950 ramp

primary
#130A40
secondary
#6F7D29
accent
#F038D1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #130A40

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

Preview Lab → · Contrast checker → · Palette generator →

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