#220F56#220F56

#220F56 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.2% C 0.118 H 286.7°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#220F56
RGBrgb(34, 15, 86)
HSLhsl(256, 70%, 20%)
HSVhsv(256, 83%, 34%)
CMYKcmyk(60.5%, 82.6%, 0%, 66.3%)
CIE-LABlab(11.64, 29.73, -39.24)
CIE-LCHlch(11.64, 49.23, 307.15°)
OKLaboklab(25.16% 0.0339 -0.1129)
OKLCHoklch(25.16% 0.118 286.7)
XYZxyz(2.5097, 1.3535, 8.9313)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F56 #43560F
analogous
#0F2056 #220F56 #450F56
triadic
#220F56 #56220F #0F5622
tetradic
#220F56 #560F20 #43560F #0F5645
square
#220F56 #560F20 #43560F #0F5645
split-complementary
#220F56 #56450F #20560F
monochromatic
#0A051A #0D0622 #220F56 #37188A #4B21BE

Accessibility & contrast

On white

16.53
#220F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220F56
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F56#FFFFFF#000000##FFFFFF
##220F561.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002058
Deuteranopia (green-blind)
#001D55
Tritanopia (blue-blind)
#0A2332
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #220f56;
/* rgb */ color: rgb(34, 15, 86);
/* oklch */ color: oklch(25.2% 0.118 286.7);
Tailwind
colors: {
  custom: {
    50: '#645086',
    500: '#220f56',
    950: '#000000',
  },
}
SCSS
$custom: #220f56;
$custom-light: #645086;
$custom-dark: #000000;
JSON
{
  "hex": "#220f56",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 86
  },
  "hsl": {
    "h": 256.056,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25164,
    "c": 0.11791,
    "h": 286.7
  },
  "luminance": 0.01354
}

Semantic roles & 50–950 ramp

primary
#220F56
secondary
#769031
accent
#ED3BBD
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #220F56

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

Preview Lab → · Contrast checker → · Palette generator →

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