#220131#220131

#220131 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.3% C 0.093 H 312.6°. Best body text is #FFFFFF at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#220131
RGBrgb(34, 1, 49)
HSLhsl(281, 96%, 10%)
HSVhsv(281, 98%, 19%)
CMYKcmyk(30.6%, 98%, 0%, 80.8%)
CIE-LABlab(5.27, 25.53, -23.42)
CIE-LCHlch(5.27, 34.65, 317.48°)
OKLaboklab(19.26% 0.0629 -0.0683)
OKLCHoklch(19.26% 0.093 312.6)
XYZxyz(1.2248, 0.5836, 2.9533)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220131 #103101
analogous
#0A0131 #220131 #310128
triadic
#220131 #312201 #013122
tetradic
#220131 #310A01 #103101 #012831
square
#220131 #310A01 #103101 #012831
split-complementary
#220131 #283101 #01310A
monochromatic
#15011E #15011E #220131 #4C026D #7503A9

Accessibility & contrast

On white

18.80
#220131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#220131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220131
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220131#FFFFFF#000000##FFFFFF
##2201311.0018.801.1218.80
#FFFFFF18.801.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001032
Deuteranopia (green-blind)
#001230
Tritanopia (blue-blind)
#200C19
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #220131;
/* rgb */ color: rgb(34, 1, 49);
/* oklch */ color: oklch(19.3% 0.093 312.6);
Tailwind
colors: {
  custom: {
    50: '#5f4669',
    500: '#220131',
    950: '#000000',
  },
}
SCSS
$custom: #220131;
$custom-light: #5f4669;
$custom-dark: #000000;
JSON
{
  "hex": "#220131",
  "rgb": {
    "r": 34,
    "g": 1,
    "b": 49
  },
  "hsl": {
    "h": 281.25,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.1926,
    "c": 0.09284,
    "h": 312.6
  },
  "luminance": 0.00584
}

Semantic roles & 50–950 ramp

primary
#220131
secondary
#357717
accent
#FF296C
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #220131

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

Preview Lab → · Contrast checker → · Palette generator →

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