#220546#220546

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

Color values

HEX#220546
RGBrgb(34, 5, 70)
HSLhsl(267, 87%, 15%)
HSVhsv(267, 93%, 27%)
CMYKcmyk(51.4%, 92.9%, 0%, 72.5%)
CIE-LABlab(8.05, 30.10, -34.09)
CIE-LCHlch(8.05, 45.48, 311.44°)
OKLaboklab(22.13% 0.0485 -0.0978)
OKLCHoklch(22.13% 0.109 296.4)
XYZxyz(1.8192, 0.8908, 5.8693)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220546 #294605
analogous
#050946 #220546 #430546
triadic
#220546 #462205 #054622
tetradic
#220546 #460509 #294605 #054643
square
#220546 #460509 #294605 #054643
split-complementary
#220546 #464305 #094605
monochromatic
#0E021D #0E021D #220546 #3E097F #590DB8

Accessibility & contrast

On white

17.82
#220546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#220546 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220546
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220546#FFFFFF#000000##FFFFFF
##2205461.0017.821.1817.82
#FFFFFF17.821.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001848
Deuteranopia (green-blind)
#001745
Tritanopia (blue-blind)
#181826
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #220546;
/* rgb */ color: rgb(34, 5, 70);
/* oklch */ color: oklch(22.1% 0.109 296.4);
Tailwind
colors: {
  custom: {
    50: '#62497a',
    500: '#220546',
    950: '#000000',
  },
}
SCSS
$custom: #220546;
$custom-light: #62497a;
$custom-dark: #000000;
JSON
{
  "hex": "#220546",
  "rgb": {
    "r": 34,
    "g": 5,
    "b": 70
  },
  "hsl": {
    "h": 266.769,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22127,
    "c": 0.10911,
    "h": 296.4
  },
  "luminance": 0.00891
}

Semantic roles & 50–950 ramp

primary
#220546
secondary
#598621
accent
#FD2B9F
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050109
muted
#7A777B

Preview Lab

Preview with #220546

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

Preview Lab → · Contrast checker → · Palette generator →

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