#220F66#220F66

#220F66 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 27.0% C 0.138 H 281.9°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#220F66
RGBrgb(34, 15, 102)
HSLhsl(253, 74%, 23%)
HSVhsv(253, 85%, 40%)
CMYKcmyk(66.7%, 85.3%, 0%, 60%)
CIE-LABlab(13.48, 34.87, -46.93)
CIE-LCHlch(13.48, 58.47, 306.61°)
OKLaboklab(26.99% 0.0285 -0.1354)
OKLCHoklch(26.99% 0.138 281.9)
XYZxyz(3.2280, 1.6408, 12.7144)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F66 #53660F
analogous
#0F2866 #220F66 #4D0F66
triadic
#220F66 #66220F #0F6622
tetradic
#220F66 #660F28 #53660F #0F664D
square
#220F66 #660F28 #53660F #0F664D
split-complementary
#220F66 #664D0F #28660F
monochromatic
#09041B #100731 #220F66 #34179B #461FD1

Accessibility & contrast

On white

15.81
#220F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#220F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220F66
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F66#FFFFFF#000000##FFFFFF
##220F661.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002568
Deuteranopia (green-blind)
#001F64
Tritanopia (blue-blind)
#002A3B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #220f66;
/* rgb */ color: rgb(34, 15, 102);
/* oklch */ color: oklch(27.0% 0.138 281.9);
Tailwind
colors: {
  custom: {
    50: '#685193',
    500: '#220f66',
    950: '#000000',
  },
}
SCSS
$custom: #220f66;
$custom-light: #685193;
$custom-dark: #000000;
JSON
{
  "hex": "#220f66",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 102
  },
  "hsl": {
    "h": 253.103,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26986,
    "c": 0.13838,
    "h": 281.9
  },
  "luminance": 0.01641
}

Semantic roles & 50–950 ramp

primary
#220F66
secondary
#879F32
accent
#F137C8
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #220F66

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

Preview Lab → · Contrast checker → · Palette generator →

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