#220F68#220F68

#220F68 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.2% C 0.141 H 281.4°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#220F68
RGBrgb(34, 15, 104)
HSLhsl(253, 75%, 23%)
HSVhsv(253, 86%, 41%)
CMYKcmyk(67.3%, 85.6%, 0%, 59.2%)
CIE-LABlab(13.72, 35.50, -47.86)
CIE-LCHlch(13.72, 59.59, 306.57°)
OKLaboklab(27.22% 0.0278 -0.1381)
OKLCHoklch(27.22% 0.141 281.4)
XYZxyz(3.3284, 1.6810, 13.2431)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F68 #55680F
analogous
#0F2868 #220F68 #4E0F68
triadic
#220F68 #68220F #0F6822
tetradic
#220F68 #680F28 #55680F #0F684E
square
#220F68 #680F28 #55680F #0F684E
split-complementary
#220F68 #684E0F #28680F
monochromatic
#09041B #110733 #220F68 #33179D #451ED3

Accessibility & contrast

On white

15.72
#220F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#220F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220F68
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F68#FFFFFF#000000##FFFFFF
##220F681.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00266A
Deuteranopia (green-blind)
#002066
Tritanopia (blue-blind)
#002A3C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #220f68;
/* rgb */ color: rgb(34, 15, 104);
/* oklch */ color: oklch(27.2% 0.141 281.4);
Tailwind
colors: {
  custom: {
    50: '#685194',
    500: '#220f68',
    950: '#000000',
  },
}
SCSS
$custom: #220f68;
$custom-light: #685194;
$custom-dark: #000000;
JSON
{
  "hex": "#220f68",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 104
  },
  "hsl": {
    "h": 252.809,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27222,
    "c": 0.14087,
    "h": 281.4
  },
  "luminance": 0.01681
}

Semantic roles & 50–950 ramp

primary
#220F68
secondary
#89A132
accent
#F136C9
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #220F68

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

Preview Lab → · Contrast checker → · Palette generator →

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