#130331#130331

#130331 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.3% C 0.086 H 291.9°. Best body text is #FFFFFF at 19.35:1 contrast (WCAG AA passes).

Color values

HEX#130331
RGBrgb(19, 3, 49)
HSLhsl(261, 88%, 10%)
HSVhsv(261, 94%, 19%)
CMYKcmyk(61.2%, 93.9%, 0%, 80.8%)
CIE-LABlab(3.84, 18.47, -25.81)
CIE-LCHlch(3.84, 31.74, 305.60°)
OKLaboklab(17.26% 0.0319 -0.0793)
OKLCHoklch(17.26% 0.086 291.9)
XYZxyz(0.8553, 0.4253, 2.9422)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130331 #213103
analogous
#030A31 #130331 #2A0331
triadic
#130331 #311303 #033113
tetradic
#130331 #31030A #213103 #03312A
square
#130331 #31030A #213103 #03312A
split-complementary
#130331 #312A03 #0A3103
monochromatic
#0B021D #0B021D #130331 #29076B #400AA4

Accessibility & contrast

On white

19.35
#130331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#130331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #130331
19.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130331#FFFFFF#000000##FFFFFF
##1303311.0019.351.0919.35
#FFFFFF19.351.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E32
Deuteranopia (green-blind)
#000D30
Tritanopia (blue-blind)
#090F19
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #130331;
/* rgb */ color: rgb(19, 3, 49);
/* oklch */ color: oklch(17.3% 0.086 291.9);
Tailwind
colors: {
  custom: {
    50: '#534769',
    500: '#130331',
    950: '#000000',
  },
}
SCSS
$custom: #130331;
$custom-light: #534769;
$custom-dark: #000000;
JSON
{
  "hex": "#130331",
  "rgb": {
    "r": 19,
    "g": 3,
    "b": 49
  },
  "hsl": {
    "h": 260.87,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.17263,
    "c": 0.08551,
    "h": 291.9
  },
  "luminance": 0.00425
}

Semantic roles & 50–950 ramp

primary
#130331
secondary
#55741B
accent
#FF29B4
background
#F4F4F6
surface
#E8E6EB
border
#C4C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #130331

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

Preview Lab → · Contrast checker → · Palette generator →

#130331 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva