#220E54#220E54

#220E54 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.116 H 287.7°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#220E54
RGBrgb(34, 14, 84)
HSLhsl(257, 71%, 19%)
HSVhsv(257, 83%, 33%)
CMYKcmyk(59.5%, 83.3%, 0%, 67.1%)
CIE-LABlab(11.23, 29.63, -38.55)
CIE-LCHlch(11.23, 48.62, 307.55°)
OKLaboklab(24.81% 0.0353 -0.1109)
OKLCHoklch(24.81% 0.116 287.7)
XYZxyz(2.4165, 1.2941, 8.5082)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220E54 #40540E
analogous
#0E1D54 #220E54 #450E54
triadic
#220E54 #54220E #0E5422
tetradic
#220E54 #540E1D #40540E #0E5445
square
#220E54 #540E1D #40540E #0E5445
split-complementary
#220E54 #54450E #1D540E
monochromatic
#0B041A #0D0520 #220E54 #371788 #4C1FBD

Accessibility & contrast

On white

16.68
#220E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#220E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220E54
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220E54#FFFFFF#000000##FFFFFF
##220E541.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002056
Deuteranopia (green-blind)
#001C53
Tritanopia (blue-blind)
#0D2230
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #220e54;
/* rgb */ color: rgb(34, 14, 84);
/* oklch */ color: oklch(24.8% 0.116 287.7);
Tailwind
colors: {
  custom: {
    50: '#644f85',
    500: '#220e54',
    950: '#000000',
  },
}
SCSS
$custom: #220e54;
$custom-light: #644f85;
$custom-dark: #000000;
JSON
{
  "hex": "#220e54",
  "rgb": {
    "r": 34,
    "g": 14,
    "b": 84
  },
  "hsl": {
    "h": 257.143,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24811,
    "c": 0.11641,
    "h": 287.7
  },
  "luminance": 0.01294
}

Semantic roles & 50–950 ramp

primary
#220E54
secondary
#738E2F
accent
#EE3ABB
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #220E54

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

Preview Lab → · Contrast checker → · Palette generator →

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