#220440#220440

#220440 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.104 H 300.3°. Best body text is #FFFFFF at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#220440
RGBrgb(34, 4, 64)
HSLhsl(270, 88%, 13%)
HSVhsv(270, 94%, 25%)
CMYKcmyk(46.9%, 93.8%, 0%, 74.9%)
CIE-LABlab(7.20, 28.89, -31.22)
CIE-LCHlch(7.20, 42.54, 312.78°)
OKLaboklab(21.32% 0.0522 -0.0895)
OKLCHoklch(21.32% 0.104 300.3)
XYZxyz(1.6283, 0.7971, 4.9176)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220440 #224004
analogous
#040440 #220440 #400440
triadic
#220440 #402204 #044022
tetradic
#220440 #400404 #224004 #044040
square
#220440 #400404 #224004 #044040
split-complementary
#220440 #404004 #044004
monochromatic
#0F021D #0F021D #220440 #41087A #5F0BB3

Accessibility & contrast

On white

18.11
#220440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#220440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220440
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220440#FFFFFF#000000##FFFFFF
##2204401.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001642
Deuteranopia (green-blind)
#00153F
Tritanopia (blue-blind)
#1B1523
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #220440;
/* rgb */ color: rgb(34, 4, 64);
/* oklch */ color: oklch(21.3% 0.104 300.3);
Tailwind
colors: {
  custom: {
    50: '#614875',
    500: '#220440',
    950: '#000000',
  },
}
SCSS
$custom: #220440;
$custom-light: #614875;
$custom-dark: #000000;
JSON
{
  "hex": "#220440",
  "rgb": {
    "r": 34,
    "g": 4,
    "b": 64
  },
  "hsl": {
    "h": 270,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21323,
    "c": 0.1036,
    "h": 300.3
  },
  "luminance": 0.00797
}

Semantic roles & 50–950 ramp

primary
#220440
secondary
#50811F
accent
#FE2994
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #220440

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

Preview Lab → · Contrast checker → · Palette generator →

#220440 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva