#220335#220335

#220335 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.0% C 0.093 H 308.5°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#220335
RGBrgb(34, 3, 53)
HSLhsl(277, 89%, 11%)
HSVhsv(277, 94%, 21%)
CMYKcmyk(35.8%, 94.3%, 0%, 79.2%)
CIE-LABlab(5.98, 25.88, -25.23)
CIE-LCHlch(5.98, 36.14, 315.72°)
OKLaboklab(20.01% 0.058 -0.0727)
OKLCHoklch(20.01% 0.093 308.5)
XYZxyz(1.3347, 0.6623, 3.4250)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220335 #163503
analogous
#090335 #220335 #35032F
triadic
#220335 #352203 #033522
tetradic
#220335 #350903 #163503 #032F35
square
#220335 #350903 #163503 #032F35
split-complementary
#220335 #2F3503 #033509
monochromatic
#13021D #13021D #220335 #47066F #6C0AA9

Accessibility & contrast

On white

18.54
#220335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#220335 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220335
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220335#FFFFFF#000000##FFFFFF
##2203351.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001236
Deuteranopia (green-blind)
#001434
Tritanopia (blue-blind)
#1F0F1C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #220335;
/* rgb */ color: rgb(34, 3, 53);
/* oklch */ color: oklch(20.0% 0.093 308.5);
Tailwind
colors: {
  custom: {
    50: '#60476d',
    500: '#220335',
    950: '#000000',
  },
}
SCSS
$custom: #220335;
$custom-light: #60476d;
$custom-dark: #000000;
JSON
{
  "hex": "#220335",
  "rgb": {
    "r": 34,
    "g": 3,
    "b": 53
  },
  "hsl": {
    "h": 277.2,
    "s": 89.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20007,
    "c": 0.09302,
    "h": 308.5
  },
  "luminance": 0.00662
}

Semantic roles & 50–950 ramp

primary
#220335
secondary
#3F781C
accent
#FF297A
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050007
muted
#79777A

Preview Lab

Preview with #220335

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

Preview Lab → · Contrast checker → · Palette generator →

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