#220F63#220F63

#220F63 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.6% C 0.135 H 282.7°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#220F63
RGBrgb(34, 15, 99)
HSLhsl(254, 74%, 22%)
HSVhsv(254, 85%, 39%)
CMYKcmyk(65.7%, 84.8%, 0%, 61.2%)
CIE-LABlab(13.12, 33.91, -45.53)
CIE-LCHlch(13.12, 56.77, 306.68°)
OKLaboklab(26.64% 0.0296 -0.1313)
OKLCHoklch(26.64% 0.135 282.7)
XYZxyz(3.0819, 1.5824, 11.9450)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F63 #50630F
analogous
#0F2663 #220F63 #4C0F63
triadic
#220F63 #63220F #0F6322
tetradic
#220F63 #630F26 #50630F #0F634C
square
#220F63 #630F26 #50630F #0F634C
split-complementary
#220F63 #634C0F #26630F
monochromatic
#09041B #10072E #220F63 #341798 #471FCD

Accessibility & contrast

On white

15.95
#220F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#220F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220F63
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F63#FFFFFF#000000##FFFFFF
##220F631.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002465
Deuteranopia (green-blind)
#001F62
Tritanopia (blue-blind)
#002839
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #220f63;
/* rgb */ color: rgb(34, 15, 99);
/* oklch */ color: oklch(26.6% 0.135 282.7);
Tailwind
colors: {
  custom: {
    50: '#675190',
    500: '#220f63',
    950: '#000000',
  },
}
SCSS
$custom: #220f63;
$custom-light: #675190;
$custom-dark: #000000;
JSON
{
  "hex": "#220f63",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 99
  },
  "hsl": {
    "h": 253.571,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26636,
    "c": 0.1346,
    "h": 282.7
  },
  "luminance": 0.01583
}

Semantic roles & 50–950 ramp

primary
#220F63
secondary
#849C32
accent
#F037C7
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #220F63

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

Preview Lab → · Contrast checker → · Palette generator →

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