#220F5C#220F5C

#220F5C is a dark, vivid violet. Relative luminance 0.015; OKLCH L 25.8% C 0.126 H 284.7°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#220F5C
RGBrgb(34, 15, 92)
HSLhsl(255, 72%, 21%)
HSVhsv(255, 84%, 36%)
CMYKcmyk(63%, 83.7%, 0%, 63.9%)
CIE-LABlab(12.31, 31.67, -42.19)
CIE-LCHlch(12.31, 52.75, 306.89°)
OKLaboklab(25.83% 0.0319 -0.1216)
OKLCHoklch(25.83% 0.126 284.7)
XYZxyz(2.7617, 1.4543, 10.2583)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F5C #495C0F
analogous
#0F225C #220F5C #480F5C
triadic
#220F5C #5C220F #0F5C22
tetradic
#220F5C #5C0F22 #495C0F #0F5C48
square
#220F5C #5C0F22 #495C0F #0F5C48
split-complementary
#220F5C #5C480F #225C0F
monochromatic
#0A041A #0F0627 #220F5C #351891 #4920C5

Accessibility & contrast

On white

16.27
#220F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#220F5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220F5C
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F5C#FFFFFF#000000##FFFFFF
##220F5C1.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225E
Deuteranopia (green-blind)
#001E5B
Tritanopia (blue-blind)
#022635
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #220f5c;
/* rgb */ color: rgb(34, 15, 92);
/* oklch */ color: oklch(25.8% 0.126 284.7);
Tailwind
colors: {
  custom: {
    50: '#66508b',
    500: '#220f5c',
    950: '#000000',
  },
}
SCSS
$custom: #220f5c;
$custom-light: #66508b;
$custom-dark: #000000;
JSON
{
  "hex": "#220f5c",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 92
  },
  "hsl": {
    "h": 254.805,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25834,
    "c": 0.12569,
    "h": 284.7
  },
  "luminance": 0.01454
}

Semantic roles & 50–950 ramp

primary
#220F5C
secondary
#7D9531
accent
#EF39C2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #220F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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