#130239#130239

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

Color values

HEX#130239
RGBrgb(19, 2, 57)
HSLhsl(259, 93%, 12%)
HSVhsv(259, 96%, 22%)
CMYKcmyk(66.7%, 96.5%, 0%, 77.6%)
CIE-LABlab(4.31, 23.05, -30.95)
CIE-LCHlch(4.31, 38.59, 306.67°)
OKLaboklab(18.07% 0.0293 -0.093)
OKLCHoklch(18.07% 0.098 287.5)
XYZxyz(1.0286, 0.4772, 3.9080)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130239 #283902
analogous
#020D39 #130239 #2F0239
triadic
#130239 #391302 #023913
tetradic
#130239 #39020D #283902 #02392F
square
#130239 #39020D #283902 #02392F
split-complementary
#130239 #392F02 #0D3902
monochromatic
#0A011E #0A011E #130239 #270474 #3A06AF

Accessibility & contrast

On white

19.17
#130239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #130239
19.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130239#FFFFFF#000000##FFFFFF
##1302391.0019.171.1019.17
#FFFFFF19.171.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00103A
Deuteranopia (green-blind)
#000D38
Tritanopia (blue-blind)
#03121E
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #130239;
/* rgb */ color: rgb(19, 2, 57);
/* oklch */ color: oklch(18.1% 0.098 287.5);
Tailwind
colors: {
  custom: {
    50: '#564670',
    500: '#130239',
    950: '#000000',
  },
}
SCSS
$custom: #130239;
$custom-light: #564670;
$custom-dark: #000000;
JSON
{
  "hex": "#130239",
  "rgb": {
    "r": 19,
    "g": 2,
    "b": 57
  },
  "hsl": {
    "h": 258.545,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.18074,
    "c": 0.09751,
    "h": 287.5
  },
  "luminance": 0.00477
}

Semantic roles & 50–950 ramp

primary
#130239
secondary
#5E7D1A
accent
#FF29BD
background
#F5F3F6
surface
#E9E5EC
border
#C5C1C7
text
#030007
muted
#78777A

Preview Lab

Preview with #130239

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

Preview Lab → · Contrast checker → · Palette generator →

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