#220E51#220E51

#220E51 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.5% C 0.113 H 288.8°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#220E51
RGBrgb(34, 14, 81)
HSLhsl(258, 71%, 19%)
HSVhsv(258, 83%, 32%)
CMYKcmyk(58%, 82.7%, 0%, 68.2%)
CIE-LABlab(10.91, 28.67, -37.03)
CIE-LCHlch(10.91, 46.84, 307.75°)
OKLaboklab(24.48% 0.0363 -0.1065)
OKLCHoklch(24.48% 0.113 288.8)
XYZxyz(2.3015, 1.2481, 7.9026)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220E51 #3D510E
analogous
#0E1B51 #220E51 #430E51
triadic
#220E51 #51220E #0E5122
tetradic
#220E51 #510E1B #3D510E #0E5143
square
#220E51 #510E1B #3D510E #0E5143
split-complementary
#220E51 #51430E #1B510E
monochromatic
#0B051A #0C051D #220E51 #381785 #4E20B9

Accessibility & contrast

On white

16.81
#220E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#220E51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220E51
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220E51#FFFFFF#000000##FFFFFF
##220E511.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F53
Deuteranopia (green-blind)
#001C50
Tritanopia (blue-blind)
#10212F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #220e51;
/* rgb */ color: rgb(34, 14, 81);
/* oklch */ color: oklch(24.5% 0.113 288.8);
Tailwind
colors: {
  custom: {
    50: '#644f83',
    500: '#220e51',
    950: '#000000',
  },
}
SCSS
$custom: #220e51;
$custom-light: #644f83;
$custom-dark: #000000;
JSON
{
  "hex": "#220e51",
  "rgb": {
    "r": 34,
    "g": 14,
    "b": 81
  },
  "hsl": {
    "h": 257.91,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24483,
    "c": 0.1125,
    "h": 288.8
  },
  "luminance": 0.01248
}

Semantic roles & 50–950 ramp

primary
#220E51
secondary
#708C2F
accent
#ED3AB8
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #220E51

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

Preview Lab → · Contrast checker → · Palette generator →

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