#130233#130233

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

Color values

HEX#130233
RGBrgb(19, 2, 51)
HSLhsl(261, 92%, 10%)
HSVhsv(261, 96%, 20%)
CMYKcmyk(62.7%, 96.1%, 0%, 80%)
CIE-LABlab(3.80, 19.94, -27.36)
CIE-LCHlch(3.80, 33.86, 306.09°)
OKLaboklab(17.29% 0.0324 -0.084)
OKLCHoklch(17.29% 0.09 291.1)
XYZxyz(0.8876, 0.4208, 3.1658)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130233 #223302
analogous
#020A33 #130233 #2B0233
triadic
#130233 #331302 #023313
tetradic
#130233 #33020A #223302 #02332B
square
#130233 #33020A #223302 #02332B
split-complementary
#130233 #332B02 #0A3302
monochromatic
#0B011D #0B011D #130233 #29046E #3F07A9

Accessibility & contrast

On white

19.37
#130233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#130233 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #130233
19.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130233#FFFFFF#000000##FFFFFF
##1302331.0019.371.0819.37
#FFFFFF19.371.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E34
Deuteranopia (green-blind)
#000C32
Tritanopia (blue-blind)
#070F1A
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #130233;
/* rgb */ color: rgb(19, 2, 51);
/* oklch */ color: oklch(17.3% 0.090 291.1);
Tailwind
colors: {
  custom: {
    50: '#54476b',
    500: '#130233',
    950: '#000000',
  },
}
SCSS
$custom: #130233;
$custom-light: #54476b;
$custom-dark: #000000;
JSON
{
  "hex": "#130233",
  "rgb": {
    "r": 19,
    "g": 2,
    "b": 51
  },
  "hsl": {
    "h": 260.816,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.17294,
    "c": 0.09002,
    "h": 291.1
  },
  "luminance": 0.00421
}

Semantic roles & 50–950 ramp

primary
#130233
secondary
#57771A
accent
#FF29B5
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#030007
muted
#78777A

Preview Lab

Preview with #130233

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

Preview Lab → · Contrast checker → · Palette generator →

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