#220F6A#220F6A

#220F6A is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.5% C 0.143 H 280.9°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#220F6A
RGBrgb(34, 15, 106)
HSLhsl(253, 75%, 24%)
HSVhsv(253, 86%, 42%)
CMYKcmyk(67.9%, 85.8%, 0%, 58.4%)
CIE-LABlab(13.96, 36.13, -48.78)
CIE-LCHlch(13.96, 60.70, 306.53°)
OKLaboklab(27.46% 0.0271 -0.1408)
OKLCHoklch(27.46% 0.143 280.9)
XYZxyz(3.4312, 1.7221, 13.7845)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F6A #576A0F
analogous
#0F296A #220F6A #4F0F6A
triadic
#220F6A #6A220F #0F6A22
tetradic
#220F6A #6A0F29 #576A0F #0F6A4F
square
#220F6A #6A0F29 #576A0F #0F6A4F
split-complementary
#220F6A #6A4F0F #296A0F
monochromatic
#09041B #110734 #220F6A #3317A0 #441ED5

Accessibility & contrast

On white

15.62
#220F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220F6A
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F6A#FFFFFF#000000##FFFFFF
##220F6A1.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276C
Deuteranopia (green-blind)
#002068
Tritanopia (blue-blind)
#002B3D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #220f6a;
/* rgb */ color: rgb(34, 15, 106);
/* oklch */ color: oklch(27.5% 0.143 280.9);
Tailwind
colors: {
  custom: {
    50: '#695196',
    500: '#220f6a',
    950: '#000000',
  },
}
SCSS
$custom: #220f6a;
$custom-light: #695196;
$custom-dark: #000000;
JSON
{
  "hex": "#220f6a",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 106
  },
  "hsl": {
    "h": 252.527,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27459,
    "c": 0.14335,
    "h": 280.9
  },
  "luminance": 0.01722
}

Semantic roles & 50–950 ramp

primary
#220F6A
secondary
#8BA232
accent
#F236CB
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #220F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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