#220E4F#220E4F

#220E4F is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.3% C 0.110 H 289.6°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#220E4F
RGBrgb(34, 14, 79)
HSLhsl(258, 70%, 18%)
HSVhsv(258, 82%, 31%)
CMYKcmyk(57%, 82.3%, 0%, 69%)
CIE-LABlab(10.69, 28.03, -36.01)
CIE-LCHlch(10.69, 45.63, 307.90°)
OKLaboklab(24.27% 0.0369 -0.1035)
OKLCHoklch(24.27% 0.11 289.6)
XYZxyz(2.2276, 1.2186, 7.5135)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220E4F #3B4F0E
analogous
#0E1A4F #220E4F #420E4F
triadic
#220E4F #4F220E #0E4F22
tetradic
#220E4F #4F0E1A #3B4F0E #0E4F42
square
#220E4F #4F0E1A #3B4F0E #0E4F42
split-complementary
#220E4F #4F420E #1A4F0E
monochromatic
#0B051A #0C051B #220E4F #381783 #4F20B7

Accessibility & contrast

On white

16.88
#220E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#220E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220E4F
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220E4F#FFFFFF#000000##FFFFFF
##220E4F1.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E51
Deuteranopia (green-blind)
#001B4E
Tritanopia (blue-blind)
#11202E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #220e4f;
/* rgb */ color: rgb(34, 14, 79);
/* oklch */ color: oklch(24.3% 0.110 289.6);
Tailwind
colors: {
  custom: {
    50: '#634f81',
    500: '#220e4f',
    950: '#000000',
  },
}
SCSS
$custom: #220e4f;
$custom-light: #634f81;
$custom-dark: #000000;
JSON
{
  "hex": "#220e4f",
  "rgb": {
    "r": 34,
    "g": 14,
    "b": 79
  },
  "hsl": {
    "h": 258.462,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24267,
    "c": 0.10987,
    "h": 289.6
  },
  "luminance": 0.01219
}

Semantic roles & 50–950 ramp

primary
#220E4F
secondary
#6E8A2F
accent
#ED3BB6
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #220E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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