#220341#220341

#220341 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.106 H 299.9°. Best body text is #FFFFFF at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#220341
RGBrgb(34, 3, 65)
HSLhsl(270, 91%, 13%)
HSVhsv(270, 95%, 25%)
CMYKcmyk(47.7%, 95.4%, 0%, 74.5%)
CIE-LABlab(7.11, 29.76, -32.09)
CIE-LCHlch(7.11, 43.77, 312.85°)
OKLaboklab(21.29% 0.053 -0.092)
OKLCHoklch(21.29% 0.106 299.9)
XYZxyz(1.6461, 0.7868, 5.0651)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220341 #224103
analogous
#030341 #220341 #410341
triadic
#220341 #412203 #034122
tetradic
#220341 #410303 #224103 #034141
square
#220341 #410303 #224103 #034141
split-complementary
#220341 #414103 #034103
monochromatic
#0F011D #0F011D #220341 #41067B #5F08B6

Accessibility & contrast

On white

18.14
#220341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#220341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220341
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220341#FFFFFF#000000##FFFFFF
##2203411.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001643
Deuteranopia (green-blind)
#001540
Tritanopia (blue-blind)
#1A1523
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #220341;
/* rgb */ color: rgb(34, 3, 65);
/* oklch */ color: oklch(21.3% 0.106 299.9);
Tailwind
colors: {
  custom: {
    50: '#624876',
    500: '#220341',
    950: '#000000',
  },
}
SCSS
$custom: #220341;
$custom-light: #624876;
$custom-dark: #000000;
JSON
{
  "hex": "#220341",
  "rgb": {
    "r": 34,
    "g": 3,
    "b": 65
  },
  "hsl": {
    "h": 270,
    "s": 91.176,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21288,
    "c": 0.10619,
    "h": 299.9
  },
  "luminance": 0.00787
}

Semantic roles & 50–950 ramp

primary
#220341
secondary
#50831D
accent
#FF2994
background
#F6F4F7
surface
#EBE6ED
border
#C6C2C8
text
#050008
muted
#7A777B

Preview Lab

Preview with #220341

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

Preview Lab → · Contrast checker → · Palette generator →

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