#220F55#220F55

#220F55 is a dark, moderate violet. Relative luminance 0.013; OKLCH L 25.1% C 0.117 H 287.0°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#220F55
RGBrgb(34, 15, 85)
HSLhsl(256, 70%, 20%)
HSVhsv(256, 82%, 33%)
CMYKcmyk(60%, 82.4%, 0%, 66.7%)
CIE-LABlab(11.54, 29.41, -38.74)
CIE-LCHlch(11.54, 48.63, 307.21°)
OKLaboklab(25.05% 0.0342 -0.1115)
OKLCHoklch(25.05% 0.117 287)
XYZxyz(2.4697, 1.3375, 8.7206)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F55 #42550F
analogous
#0F1F55 #220F55 #450F55
triadic
#220F55 #55220F #0F5522
tetradic
#220F55 #550F1F #42550F #0F5545
square
#220F55 #550F1F #42550F #0F5545
split-complementary
#220F55 #55450F #1F550F
monochromatic
#0A051A #0D0621 #220F55 #371889 #4C21BD

Accessibility & contrast

On white

16.57
#220F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#220F55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220F55
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F55#FFFFFF#000000##FFFFFF
##220F551.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002057
Deuteranopia (green-blind)
#001D54
Tritanopia (blue-blind)
#0B2331
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #220f55;
/* rgb */ color: rgb(34, 15, 85);
/* oklch */ color: oklch(25.1% 0.117 287.0);
Tailwind
colors: {
  custom: {
    50: '#645086',
    500: '#220f55',
    950: '#000000',
  },
}
SCSS
$custom: #220f55;
$custom-light: #645086;
$custom-dark: #000000;
JSON
{
  "hex": "#220f55",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 85
  },
  "hsl": {
    "h": 256.286,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.25054,
    "c": 0.1166,
    "h": 287
  },
  "luminance": 0.01338
}

Semantic roles & 50–950 ramp

primary
#220F55
secondary
#758F31
accent
#ED3BBD
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #220F55

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

Preview Lab → · Contrast checker → · Palette generator →

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