#130334#130334

#130334 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.6% C 0.089 H 289.9°. Best body text is #FFFFFF at 19.26:1 contrast (WCAG AA passes).

Color values

HEX#130334
RGBrgb(19, 3, 52)
HSLhsl(260, 89%, 11%)
HSVhsv(260, 94%, 20%)
CMYKcmyk(63.5%, 94.2%, 0%, 79.6%)
CIE-LABlab(4.08, 20.04, -27.66)
CIE-LCHlch(4.08, 34.16, 305.93°)
OKLaboklab(17.64% 0.0305 -0.084)
OKLCHoklch(17.64% 0.089 289.9)
XYZxyz(0.9208, 0.4515, 3.2868)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130334 #243403
analogous
#030B34 #130334 #2B0334
triadic
#130334 #341303 #033413
tetradic
#130334 #34030B #243403 #03342B
square
#130334 #34030B #243403 #03342B
split-complementary
#130334 #342B03 #0B3403
monochromatic
#0B021D #0B021D #130334 #28066E #3D0AA8

Accessibility & contrast

On white

19.26
#130334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #130334
19.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130334#FFFFFF#000000##FFFFFF
##1303341.0019.261.0919.26
#FFFFFF19.261.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F35
Deuteranopia (green-blind)
#000D33
Tritanopia (blue-blind)
#06111B
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #130334;
/* rgb */ color: rgb(19, 3, 52);
/* oklch */ color: oklch(17.6% 0.089 289.9);
Tailwind
colors: {
  custom: {
    50: '#54476c',
    500: '#130334',
    950: '#000000',
  },
}
SCSS
$custom: #130334;
$custom-light: #54476c;
$custom-dark: #000000;
JSON
{
  "hex": "#130334",
  "rgb": {
    "r": 19,
    "g": 3,
    "b": 52
  },
  "hsl": {
    "h": 259.592,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.17636,
    "c": 0.0894,
    "h": 289.9
  },
  "luminance": 0.00452
}

Semantic roles & 50–950 ramp

primary
#130334
secondary
#59771C
accent
#FF29B9
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030007
muted
#78777A

Preview Lab

Preview with #130334

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

Preview Lab → · Contrast checker → · Palette generator →

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