#220F52#220F52

#220F52 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.113 H 288.2°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#220F52
RGBrgb(34, 15, 82)
HSLhsl(257, 69%, 19%)
HSVhsv(257, 82%, 32%)
CMYKcmyk(58.5%, 81.7%, 0%, 67.8%)
CIE-LABlab(11.21, 28.44, -37.22)
CIE-LCHlch(11.21, 46.84, 307.38°)
OKLaboklab(24.73% 0.0351 -0.107)
OKLCHoklch(24.73% 0.113 288.2)
XYZxyz(2.3531, 1.2908, 8.1062)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F52 #3F520F
analogous
#0F1E52 #220F52 #440F52
triadic
#220F52 #52220F #0F5222
tetradic
#220F52 #520F1E #3F520F #0F5244
square
#220F52 #520F1E #3F520F #0F5244
split-complementary
#220F52 #52440F #1E520F
monochromatic
#0B051A #0D061E #220F52 #371886 #4D22B9

Accessibility & contrast

On white

16.69
#220F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#220F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220F52
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F52#FFFFFF#000000##FFFFFF
##220F521.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F54
Deuteranopia (green-blind)
#001C51
Tritanopia (blue-blind)
#0F2230
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #220f52;
/* rgb */ color: rgb(34, 15, 82);
/* oklch */ color: oklch(24.7% 0.113 288.2);
Tailwind
colors: {
  custom: {
    50: '#645083',
    500: '#220f52',
    950: '#000000',
  },
}
SCSS
$custom: #220f52;
$custom-light: #645083;
$custom-dark: #000000;
JSON
{
  "hex": "#220f52",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 82
  },
  "hsl": {
    "h": 257.015,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24728,
    "c": 0.11264,
    "h": 288.2
  },
  "luminance": 0.01291
}

Semantic roles & 50–950 ramp

primary
#220F52
secondary
#728C31
accent
#EC3CBA
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #220F52

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

Preview Lab → · Contrast checker → · Palette generator →

#220F52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva