#220E5D#220E5D

#220E5D is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.8% C 0.128 H 284.6°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#220E5D
RGBrgb(34, 14, 93)
HSLhsl(255, 74%, 21%)
HSVhsv(255, 85%, 36%)
CMYKcmyk(63.4%, 84.9%, 0%, 63.5%)
CIE-LABlab(12.25, 32.51, -42.97)
CIE-LCHlch(12.25, 53.88, 307.11°)
OKLaboklab(25.82% 0.0323 -0.1238)
OKLCHoklch(25.82% 0.128 284.6)
XYZxyz(2.7919, 1.4443, 10.4855)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220E5D #495D0E
analogous
#0E215D #220E5D #490E5D
triadic
#220E5D #5D220E #0E5D22
tetradic
#220E5D #5D0E21 #495D0E #0E5D49
square
#220E5D #5D0E21 #495D0E #0E5D49
split-complementary
#220E5D #5D490E #215D0E
monochromatic
#0A041B #0F0628 #220E5D #351692 #491EC7

Accessibility & contrast

On white

16.29
#220E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220E5D
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220E5D#FFFFFF#000000##FFFFFF
##220E5D1.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225F
Deuteranopia (green-blind)
#001D5C
Tritanopia (blue-blind)
#012636
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #220e5d;
/* rgb */ color: rgb(34, 14, 93);
/* oklch */ color: oklch(25.8% 0.128 284.6);
Tailwind
colors: {
  custom: {
    50: '#66508c',
    500: '#220e5d',
    950: '#000000',
  },
}
SCSS
$custom: #220e5d;
$custom-light: #66508c;
$custom-dark: #000000;
JSON
{
  "hex": "#220e5d",
  "rgb": {
    "r": 34,
    "g": 14,
    "b": 93
  },
  "hsl": {
    "h": 255.19,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25823,
    "c": 0.12797,
    "h": 284.6
  },
  "luminance": 0.01444
}

Semantic roles & 50–950 ramp

primary
#220E5D
secondary
#7D9730
accent
#F037C2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #220E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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