#220347#220347

#220347 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.113 H 296.4°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#220347
RGBrgb(34, 3, 71)
HSLhsl(267, 92%, 15%)
HSVhsv(267, 96%, 28%)
CMYKcmyk(52.1%, 95.8%, 0%, 72.2%)
CIE-LABlab(7.77, 31.54, -35.25)
CIE-LCHlch(7.77, 47.30, 311.82°)
OKLaboklab(21.97% 0.0501 -0.1011)
OKLCHoklch(21.97% 0.113 296.4)
XYZxyz(1.8293, 0.8601, 6.0296)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220347 #284703
analogous
#030647 #220347 #440347
triadic
#220347 #472203 #034722
tetradic
#220347 #470306 #284703 #034744
square
#220347 #470306 #284703 #034744
split-complementary
#220347 #474403 #064703
monochromatic
#0E011D #0E011D #220347 #3E0582 #5A08BC

Accessibility & contrast

On white

17.92
#220347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#220347 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220347
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220347#FFFFFF#000000##FFFFFF
##2203471.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001749
Deuteranopia (green-blind)
#001646
Tritanopia (blue-blind)
#171827
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #220347;
/* rgb */ color: rgb(34, 3, 71);
/* oklch */ color: oklch(22.0% 0.113 296.4);
Tailwind
colors: {
  custom: {
    50: '#63487b',
    500: '#220347',
    950: '#000000',
  },
}
SCSS
$custom: #220347;
$custom-light: #63487b;
$custom-dark: #000000;
JSON
{
  "hex": "#220347",
  "rgb": {
    "r": 34,
    "g": 3,
    "b": 71
  },
  "hsl": {
    "h": 267.353,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.21971,
    "c": 0.11286,
    "h": 296.4
  },
  "luminance": 0.0086
}

Semantic roles & 50–950 ramp

primary
#220347
secondary
#58881E
accent
#FF299D
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #220347

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

Preview Lab → · Contrast checker → · Palette generator →

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