#130231#130231

#130231 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.0% C 0.088 H 292.5°. Best body text is #FFFFFF at 19.43:1 contrast (WCAG AA passes).

Color values

HEX#130231
RGBrgb(19, 2, 49)
HSLhsl(262, 92%, 10%)
HSVhsv(262, 96%, 19%)
CMYKcmyk(61.2%, 95.9%, 0%, 80.8%)
CIE-LABlab(3.65, 18.88, -26.12)
CIE-LCHlch(3.65, 32.23, 305.86°)
OKLaboklab(17.04% 0.0334 -0.0809)
OKLCHoklch(17.04% 0.088 292.5)
XYZxyz(0.8445, 0.4036, 2.9385)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130231 #203102
analogous
#020931 #130231 #2A0231
triadic
#130231 #311302 #023113
tetradic
#130231 #310209 #203102 #02312A
square
#130231 #310209 #203102 #02312A
split-complementary
#130231 #312A02 #093102
monochromatic
#0B011D #0B011D #130231 #2A046C #4107A7

Accessibility & contrast

On white

19.43
#130231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #130231
19.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130231#FFFFFF#000000##FFFFFF
##1302311.0019.431.0819.43
#FFFFFF19.431.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E32
Deuteranopia (green-blind)
#000C30
Tritanopia (blue-blind)
#090F19
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #130231;
/* rgb */ color: rgb(19, 2, 49);
/* oklch */ color: oklch(17.0% 0.088 292.5);
Tailwind
colors: {
  custom: {
    50: '#534769',
    500: '#130231',
    950: '#000000',
  },
}
SCSS
$custom: #130231;
$custom-light: #534769;
$custom-dark: #000000;
JSON
{
  "hex": "#130231",
  "rgb": {
    "r": 19,
    "g": 2,
    "b": 49
  },
  "hsl": {
    "h": 261.702,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.1704,
    "c": 0.08751,
    "h": 292.5
  },
  "luminance": 0.00404
}

Semantic roles & 50–950 ramp

primary
#130231
secondary
#547519
accent
#FF29B2
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#030006
muted
#78777A

Preview Lab

Preview with #130231

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

Preview Lab → · Contrast checker → · Palette generator →

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