#130229#130229

#130229 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 16.1% C 0.077 H 298.7°. Best body text is #FFFFFF at 19.66:1 contrast (WCAG AA passes).

Color values

HEX#130229
RGBrgb(19, 2, 41)
HSLhsl(266, 91%, 8%)
HSVhsv(266, 95%, 16%)
CMYKcmyk(53.7%, 95.1%, 0%, 83.9%)
CIE-LABlab(3.09, 14.97, -20.95)
CIE-LCHlch(3.09, 25.75, 305.54°)
OKLaboklab(16.06% 0.0373 -0.068)
OKLCHoklch(16.06% 0.078 298.7)
XYZxyz(0.6904, 0.3419, 2.1270)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130229 #182902
analogous
#020429 #130229 #260229
triadic
#130229 #291302 #022913
tetradic
#130229 #290204 #182902 #022926
square
#130229 #290204 #182902 #022926
split-complementary
#130229 #292602 #042902
monochromatic
#0E011D #0E011D #130229 #2E0563 #49089E

Accessibility & contrast

On white

19.66
#130229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#130229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #130229
19.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130229#FFFFFF#000000##FFFFFF
##1302291.0019.661.0719.66
#FFFFFF19.661.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2A
Deuteranopia (green-blind)
#000B28
Tritanopia (blue-blind)
#0D0B14
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #130229;
/* rgb */ color: rgb(19, 2, 41);
/* oklch */ color: oklch(16.1% 0.077 298.7);
Tailwind
colors: {
  custom: {
    50: '#514763',
    500: '#130229',
    950: '#000000',
  },
}
SCSS
$custom: #130229;
$custom-light: #514763;
$custom-dark: #000000;
JSON
{
  "hex": "#130229",
  "rgb": {
    "r": 19,
    "g": 2,
    "b": 41
  },
  "hsl": {
    "h": 266.154,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.16061,
    "c": 0.0775,
    "h": 298.7
  },
  "luminance": 0.00342
}

Semantic roles & 50–950 ramp

primary
#130229
secondary
#496E19
accent
#FF29A2
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#020005
muted
#787779

Preview Lab

Preview with #130229

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

Preview Lab → · Contrast checker → · Palette generator →

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