#220F5E#220F5E

#220F5E is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.1% C 0.128 H 284.1°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#220F5E
RGBrgb(34, 15, 94)
HSLhsl(254, 72%, 21%)
HSVhsv(254, 84%, 37%)
CMYKcmyk(63.8%, 84%, 0%, 63.1%)
CIE-LABlab(12.54, 32.31, -43.15)
CIE-LCHlch(12.54, 53.91, 306.83°)
OKLaboklab(26.06% 0.0313 -0.1244)
OKLCHoklch(26.06% 0.128 284.1)
XYZxyz(2.8503, 1.4897, 10.7248)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F5E #4B5E0F
analogous
#0F245E #220F5E #4A0F5E
triadic
#220F5E #5E220F #0F5E22
tetradic
#220F5E #5E0F24 #4B5E0F #0F5E4A
square
#220F5E #5E0F24 #4B5E0F #0F5E4A
split-complementary
#220F5E #5E4A0F #245E0F
monochromatic
#0A041A #0F0729 #220F5E #351793 #4820C8

Accessibility & contrast

On white

16.18
#220F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#220F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220F5E
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F5E#FFFFFF#000000##FFFFFF
##220F5E1.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002360
Deuteranopia (green-blind)
#001E5D
Tritanopia (blue-blind)
#002636
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #220f5e;
/* rgb */ color: rgb(34, 15, 94);
/* oklch */ color: oklch(26.1% 0.128 284.1);
Tailwind
colors: {
  custom: {
    50: '#66508d',
    500: '#220f5e',
    950: '#000000',
  },
}
SCSS
$custom: #220f5e;
$custom-light: #66508d;
$custom-dark: #000000;
JSON
{
  "hex": "#220f5e",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 94
  },
  "hsl": {
    "h": 254.43,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26061,
    "c": 0.12826,
    "h": 284.1
  },
  "luminance": 0.0149
}

Semantic roles & 50–950 ramp

primary
#220F5E
secondary
#7F9731
accent
#EF39C3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #220F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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