#220E5F#220E5F

#220E5F is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.1% C 0.131 H 284.0°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#220E5F
RGBrgb(34, 14, 95)
HSLhsl(255, 74%, 21%)
HSVhsv(255, 85%, 37%)
CMYKcmyk(64.2%, 85.3%, 0%, 62.7%)
CIE-LABlab(12.48, 33.14, -43.92)
CIE-LCHlch(12.48, 55.02, 307.04°)
OKLaboklab(26.05% 0.0316 -0.1266)
OKLCHoklch(26.05% 0.131 284)
XYZxyz(2.8816, 1.4802, 10.9581)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220E5F #4B5F0E
analogous
#0E235F #220E5F #4B0E5F
triadic
#220E5F #5F220E #0E5F22
tetradic
#220E5F #5F0E23 #4B5F0E #0E5F4B
square
#220E5F #5F0E23 #4B5F0E #0E5F4B
split-complementary
#220E5F #5F4B0E #235F0E
monochromatic
#0A041B #0F062A #220E5F #351694 #481ECA

Accessibility & contrast

On white

16.20
#220E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#220E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220E5F
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220E5F#FFFFFF#000000##FFFFFF
##220E5F1.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002361
Deuteranopia (green-blind)
#001E5E
Tritanopia (blue-blind)
#002637
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #220e5f;
/* rgb */ color: rgb(34, 14, 95);
/* oklch */ color: oklch(26.1% 0.131 284.0);
Tailwind
colors: {
  custom: {
    50: '#67508d',
    500: '#220e5f',
    950: '#000000',
  },
}
SCSS
$custom: #220e5f;
$custom-light: #67508d;
$custom-dark: #000000;
JSON
{
  "hex": "#220e5f",
  "rgb": {
    "r": 34,
    "g": 14,
    "b": 95
  },
  "hsl": {
    "h": 254.815,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26053,
    "c": 0.1305,
    "h": 284
  },
  "luminance": 0.0148
}

Semantic roles & 50–950 ramp

primary
#220E5F
secondary
#7F9930
accent
#F137C3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #220E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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