#220F62#220F62

#220F62 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.5% C 0.133 H 283.0°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#220F62
RGBrgb(34, 15, 98)
HSLhsl(254, 73%, 22%)
HSVhsv(254, 85%, 38%)
CMYKcmyk(65.3%, 84.7%, 0%, 61.6%)
CIE-LABlab(13.01, 33.59, -45.06)
CIE-LCHlch(13.01, 56.20, 306.70°)
OKLaboklab(26.52% 0.0299 -0.1299)
OKLCHoklch(26.52% 0.133 283)
XYZxyz(3.0344, 1.5634, 11.6948)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F62 #4F620F
analogous
#0F2662 #220F62 #4C0F62
triadic
#220F62 #62220F #0F6222
tetradic
#220F62 #620F26 #4F620F #0F624C
square
#220F62 #620F26 #4F620F #0F624C
split-complementary
#220F62 #624C0F #26620F
monochromatic
#09041B #10072D #220F62 #341797 #471FCC

Accessibility & contrast

On white

16.00
#220F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#220F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220F62
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F62#FFFFFF#000000##FFFFFF
##220F621.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002464
Deuteranopia (green-blind)
#001F61
Tritanopia (blue-blind)
#002839
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #220f62;
/* rgb */ color: rgb(34, 15, 98);
/* oklch */ color: oklch(26.5% 0.133 283.0);
Tailwind
colors: {
  custom: {
    50: '#675190',
    500: '#220f62',
    950: '#000000',
  },
}
SCSS
$custom: #220f62;
$custom-light: #675190;
$custom-dark: #000000;
JSON
{
  "hex": "#220f62",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 98
  },
  "hsl": {
    "h": 253.735,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.2652,
    "c": 0.13334,
    "h": 283
  },
  "luminance": 0.01564
}

Semantic roles & 50–950 ramp

primary
#220F62
secondary
#839B32
accent
#F038C6
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020D
muted
#7A787D

Preview Lab

Preview with #220F62

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

Preview Lab → · Contrast checker → · Palette generator →

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