#220534#220534

#220534 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.2% C 0.088 H 308.7°. Best body text is #FFFFFF at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#220534
RGBrgb(34, 5, 52)
HSLhsl(277, 82%, 11%)
HSVhsv(277, 90%, 20%)
CMYKcmyk(34.6%, 90.4%, 0%, 79.6%)
CIE-LABlab(6.29, 24.51, -24.00)
CIE-LCHlch(6.29, 34.30, 315.61°)
OKLaboklab(20.23% 0.0552 -0.0688)
OKLCHoklch(20.23% 0.088 308.7)
XYZxyz(1.3337, 0.6966, 3.3123)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220534 #173405
analogous
#0A0534 #220534 #34052E
triadic
#220534 #342205 #053422
tetradic
#220534 #340A05 #173405 #052E34
square
#220534 #340A05 #173405 #052E34
split-complementary
#220534 #2E3405 #05340A
monochromatic
#12031C #12031C #220534 #470A6C #6B10A4

Accessibility & contrast

On white

18.43
#220534 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#220534 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220534
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220534#FFFFFF#000000##FFFFFF
##2205341.0018.431.1418.43
#FFFFFF18.431.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001335
Deuteranopia (green-blind)
#001433
Tritanopia (blue-blind)
#1F101C
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #220534;
/* rgb */ color: rgb(34, 5, 52);
/* oklch */ color: oklch(20.2% 0.088 308.7);
Tailwind
colors: {
  custom: {
    50: '#5f486c',
    500: '#220534',
    950: '#000000',
  },
}
SCSS
$custom: #220534;
$custom-light: #5f486c;
$custom-dark: #000000;
JSON
{
  "hex": "#220534",
  "rgb": {
    "r": 34,
    "g": 5,
    "b": 52
  },
  "hsl": {
    "h": 277.021,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.20234,
    "c": 0.08821,
    "h": 308.7
  },
  "luminance": 0.00697
}

Semantic roles & 50–950 ramp

primary
#220534
secondary
#40751F
accent
#F92F7C
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#050007
muted
#79777A

Preview Lab

Preview with #220534

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

Preview Lab → · Contrast checker → · Palette generator →

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