#220640#220640

#220640 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.6% C 0.101 H 299.6°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#220640
RGBrgb(34, 6, 64)
HSLhsl(269, 83%, 14%)
HSVhsv(269, 91%, 25%)
CMYKcmyk(46.9%, 90.6%, 0%, 74.9%)
CIE-LABlab(7.59, 27.77, -30.58)
CIE-LCHlch(7.59, 41.31, 312.24°)
OKLaboklab(21.61% 0.0498 -0.0875)
OKLCHoklch(21.61% 0.101 299.6)
XYZxyz(1.6500, 0.8405, 4.9248)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220640 #244006
analogous
#060740 #220640 #3F0640
triadic
#220640 #402206 #064022
tetradic
#220640 #400607 #244006 #06403F
square
#220640 #400607 #244006 #06403F
split-complementary
#220640 #403F06 #074006
monochromatic
#0F031C #0F031C #220640 #400B78 #5D10B0

Accessibility & contrast

On white

17.98
#220640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#220640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220640
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220640#FFFFFF#000000##FFFFFF
##2206401.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001742
Deuteranopia (green-blind)
#00163F
Tritanopia (blue-blind)
#1B1623
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #220640;
/* rgb */ color: rgb(34, 6, 64);
/* oklch */ color: oklch(21.6% 0.101 299.6);
Tailwind
colors: {
  custom: {
    50: '#614975',
    500: '#220640',
    950: '#000000',
  },
}
SCSS
$custom: #220640;
$custom-light: #614975;
$custom-dark: #000000;
JSON
{
  "hex": "#220640",
  "rgb": {
    "r": 34,
    "g": 6,
    "b": 64
  },
  "hsl": {
    "h": 268.966,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.21608,
    "c": 0.10071,
    "h": 299.6
  },
  "luminance": 0.0084
}

Semantic roles & 50–950 ramp

primary
#220640
secondary
#538022
accent
#F92F97
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #220640

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

Preview Lab → · Contrast checker → · Palette generator →

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