#220C55#220C55

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

Color values

HEX#220C55
RGBrgb(34, 12, 85)
HSLhsl(258, 75%, 19%)
HSVhsv(258, 86%, 33%)
CMYKcmyk(60%, 85.9%, 0%, 66.7%)
CIE-LABlab(10.98, 30.99, -39.64)
CIE-LCHlch(10.98, 50.32, 308.02°)
OKLaboklab(24.67% 0.0366 -0.1141)
OKLCHoklch(24.67% 0.12 287.8)
XYZxyz(2.4304, 1.2588, 8.7075)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220C55 #3F550C
analogous
#0C1B55 #220C55 #470C55
triadic
#220C55 #55220C #0C5522
tetradic
#220C55 #550C1B #3F550C #0C5547
square
#220C55 #550C1B #3F550C #0C5547
split-complementary
#220C55 #55470C #1B550C
monochromatic
#0B041B #0D041F #220C55 #37148B #4D1BC0

Accessibility & contrast

On white

16.78
#220C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#220C55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220C55
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220C55#FFFFFF#000000##FFFFFF
##220C551.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F57
Deuteranopia (green-blind)
#001B54
Tritanopia (blue-blind)
#0C2131
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #220c55;
/* rgb */ color: rgb(34, 12, 85);
/* oklch */ color: oklch(24.7% 0.120 287.8);
Tailwind
colors: {
  custom: {
    50: '#654e86',
    500: '#220c55',
    950: '#000000',
  },
}
SCSS
$custom: #220c55;
$custom-light: #654e86;
$custom-dark: #000000;
JSON
{
  "hex": "#220c55",
  "rgb": {
    "r": 34,
    "g": 12,
    "b": 85
  },
  "hsl": {
    "h": 258.082,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.2467,
    "c": 0.11981,
    "h": 287.8
  },
  "luminance": 0.01259
}

Semantic roles & 50–950 ramp

primary
#220C55
secondary
#72902D
accent
#F236B9
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #220C55

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

Preview Lab → · Contrast checker → · Palette generator →

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