#220F5A#220F5A

#220F5A is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.6% C 0.123 H 285.3°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#220F5A
RGBrgb(34, 15, 90)
HSLhsl(255, 71%, 21%)
HSVhsv(255, 83%, 35%)
CMYKcmyk(62.2%, 83.3%, 0%, 64.7%)
CIE-LABlab(12.09, 31.02, -41.21)
CIE-LCHlch(12.09, 51.58, 306.97°)
OKLaboklab(25.61% 0.0326 -0.1187)
OKLCHoklch(25.61% 0.123 285.3)
XYZxyz(2.6754, 1.4198, 9.8039)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F5A #475A0F
analogous
#0F215A #220F5A #470F5A
triadic
#220F5A #5A220F #0F5A22
tetradic
#220F5A #5A0F21 #475A0F #0F5A47
square
#220F5A #5A0F21 #475A0F #0F5A47
split-complementary
#220F5A #5A470F #215A0F
monochromatic
#0A041A #0E0626 #220F5A #36188E #4A20C3

Accessibility & contrast

On white

16.36
#220F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#220F5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220F5A
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F5A#FFFFFF#000000##FFFFFF
##220F5A1.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225C
Deuteranopia (green-blind)
#001D59
Tritanopia (blue-blind)
#052534
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #220f5a;
/* rgb */ color: rgb(34, 15, 90);
/* oklch */ color: oklch(25.6% 0.123 285.3);
Tailwind
colors: {
  custom: {
    50: '#65508a',
    500: '#220f5a',
    950: '#000000',
  },
}
SCSS
$custom: #220f5a;
$custom-light: #65508a;
$custom-dark: #000000;
JSON
{
  "hex": "#220f5a",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 90
  },
  "hsl": {
    "h": 255.2,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.25608,
    "c": 0.12311,
    "h": 285.3
  },
  "luminance": 0.0142
}

Semantic roles & 50–950 ramp

primary
#220F5A
secondary
#7B9431
accent
#EE3AC0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #220F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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