#130227#130227

#130227 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.8% C 0.075 H 300.6°. Best body text is #FFFFFF at 19.71:1 contrast (WCAG AA passes).

Color values

HEX#130227
RGBrgb(19, 2, 39)
HSLhsl(268, 90%, 8%)
HSVhsv(268, 95%, 15%)
CMYKcmyk(51.3%, 94.9%, 0%, 84.7%)
CIE-LABlab(2.97, 14.11, -19.61)
CIE-LCHlch(2.97, 24.16, 305.73°)
OKLaboklab(15.83% 0.0381 -0.0646)
OKLCHoklch(15.83% 0.075 300.6)
XYZxyz(0.6564, 0.3283, 1.9479)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130227 #162702
analogous
#020327 #130227 #250227
triadic
#130227 #271302 #022713
tetradic
#130227 #270203 #162702 #022725
square
#130227 #270203 #162702 #022725
split-complementary
#130227 #272502 #032702
monochromatic
#0E011D #0E011D #130227 #2F0561 #4C089B

Accessibility & contrast

On white

19.71
#130227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #130227
19.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130227#FFFFFF#000000##FFFFFF
##1302271.0019.711.0719.71
#FFFFFF19.711.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #130227;
/* rgb */ color: rgb(19, 2, 39);
/* oklch */ color: oklch(15.8% 0.075 300.6);
Tailwind
colors: {
  custom: {
    50: '#514761',
    500: '#130227',
    950: '#000000',
  },
}
SCSS
$custom: #130227;
$custom-light: #514761;
$custom-dark: #000000;
JSON
{
  "hex": "#130227",
  "rgb": {
    "r": 19,
    "g": 2,
    "b": 39
  },
  "hsl": {
    "h": 267.568,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.15827,
    "c": 0.07501,
    "h": 300.6
  },
  "luminance": 0.00328
}

Semantic roles & 50–950 ramp

primary
#130227
secondary
#466C18
accent
#FF299D
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020005
muted
#787779

Preview Lab

Preview with #130227

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

Preview Lab → · Contrast checker → · Palette generator →

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