#130338#130338

#130338 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.1% C 0.095 H 287.6°. Best body text is #FFFFFF at 19.13:1 contrast (WCAG AA passes).

Color values

HEX#130338
RGBrgb(19, 3, 56)
HSLhsl(258, 90%, 12%)
HSVhsv(258, 95%, 22%)
CMYKcmyk(66.1%, 94.6%, 0%, 78%)
CIE-LABlab(4.42, 22.09, -30.05)
CIE-LCHlch(4.42, 37.30, 306.32°)
OKLaboklab(18.14% 0.0286 -0.0901)
OKLCHoklch(18.14% 0.095 287.6)
XYZxyz(1.0147, 0.4890, 3.7815)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130338 #283803
analogous
#030E38 #130338 #2E0338
triadic
#130338 #381303 #033813
tetradic
#130338 #38030E #283803 #03382E
square
#130338 #38030E #283803 #03382E
split-complementary
#130338 #382E03 #0E3803
monochromatic
#0A021D #0A021D #130338 #270672 #3A09AC

Accessibility & contrast

On white

19.13
#130338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#130338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #130338
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130338#FFFFFF#000000##FFFFFF
##1303381.0019.131.1019.13
#FFFFFF19.131.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001039
Deuteranopia (green-blind)
#000E37
Tritanopia (blue-blind)
#03121E
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #130338;
/* rgb */ color: rgb(19, 3, 56);
/* oklch */ color: oklch(18.1% 0.095 287.6);
Tailwind
colors: {
  custom: {
    50: '#55476f',
    500: '#130338',
    950: '#000000',
  },
}
SCSS
$custom: #130338;
$custom-light: #55476f;
$custom-dark: #000000;
JSON
{
  "hex": "#130338",
  "rgb": {
    "r": 19,
    "g": 3,
    "b": 56
  },
  "hsl": {
    "h": 258.113,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.18144,
    "c": 0.09456,
    "h": 287.6
  },
  "luminance": 0.00489
}

Semantic roles & 50–950 ramp

primary
#130338
secondary
#5E7B1C
accent
#FF29BE
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #130338

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

Preview Lab → · Contrast checker → · Palette generator →

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