#220F57#220F57

#220F57 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.3% C 0.119 H 286.3°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#220F57
RGBrgb(34, 15, 87)
HSLhsl(256, 71%, 20%)
HSVhsv(256, 83%, 34%)
CMYKcmyk(60.9%, 82.8%, 0%, 65.9%)
CIE-LABlab(11.75, 30.06, -39.73)
CIE-LCHlch(11.75, 49.82, 307.11°)
OKLaboklab(25.27% 0.0336 -0.1144)
OKLCHoklch(25.27% 0.119 286.3)
XYZxyz(2.5503, 1.3697, 9.1450)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F57 #44570F
analogous
#0F2057 #220F57 #460F57
triadic
#220F57 #57220F #0F5722
tetradic
#220F57 #570F20 #44570F #0F5746
square
#220F57 #570F20 #44570F #0F5746
split-complementary
#220F57 #57460F #20570F
monochromatic
#0A051A #0E0623 #220F57 #36188B #4B21BF

Accessibility & contrast

On white

16.48
#220F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220F57
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F57#FFFFFF#000000##FFFFFF
##220F571.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002159
Deuteranopia (green-blind)
#001D56
Tritanopia (blue-blind)
#092432
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #220f57;
/* rgb */ color: rgb(34, 15, 87);
/* oklch */ color: oklch(25.3% 0.119 286.3);
Tailwind
colors: {
  custom: {
    50: '#655087',
    500: '#220f57',
    950: '#000000',
  },
}
SCSS
$custom: #220f57;
$custom-light: #655087;
$custom-dark: #000000;
JSON
{
  "hex": "#220f57",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 87
  },
  "hsl": {
    "h": 255.833,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.25274,
    "c": 0.11922,
    "h": 286.3
  },
  "luminance": 0.0137
}

Semantic roles & 50–950 ramp

primary
#220F57
secondary
#789131
accent
#ED3ABE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #220F57

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

Preview Lab → · Contrast checker → · Palette generator →

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