#220F50#220F50

#220F50 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.110 H 288.9°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#220F50
RGBrgb(34, 15, 80)
HSLhsl(258, 68%, 19%)
HSVhsv(258, 81%, 31%)
CMYKcmyk(57.5%, 81.3%, 0%, 68.6%)
CIE-LABlab(11.00, 27.79, -36.20)
CIE-LCHlch(11.00, 45.63, 307.51°)
OKLaboklab(24.51% 0.0357 -0.104)
OKLCHoklch(24.51% 0.11 288.9)
XYZxyz(2.2781, 1.2608, 7.7112)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F50 #3D500F
analogous
#0F1C50 #220F50 #420F50
triadic
#220F50 #50220F #0F5022
tetradic
#220F50 #500F1C #3D500F #0F5042
square
#220F50 #500F1C #3D500F #0F5042
split-complementary
#220F50 #50420F #1C500F
monochromatic
#0B051A #0C051C #220F50 #381984 #4E22B7

Accessibility & contrast

On white

16.77
#220F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220F50
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F50#FFFFFF#000000##FFFFFF
##220F501.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F52
Deuteranopia (green-blind)
#001C4F
Tritanopia (blue-blind)
#10212E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #220f50;
/* rgb */ color: rgb(34, 15, 80);
/* oklch */ color: oklch(24.5% 0.110 288.9);
Tailwind
colors: {
  custom: {
    50: '#634f82',
    500: '#220f50',
    950: '#000000',
  },
}
SCSS
$custom: #220f50;
$custom-light: #634f82;
$custom-dark: #000000;
JSON
{
  "hex": "#220f50",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 80
  },
  "hsl": {
    "h": 257.538,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24514,
    "c": 0.10999,
    "h": 288.9
  },
  "luminance": 0.01261
}

Semantic roles & 50–950 ramp

primary
#220F50
secondary
#708A31
accent
#EB3DB8
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #220F50

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

Preview Lab → · Contrast checker → · Palette generator →

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