#220641#220641

#220641 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.7% C 0.102 H 299.0°. Best body text is #FFFFFF at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#220641
RGBrgb(34, 6, 65)
HSLhsl(268, 83%, 14%)
HSVhsv(268, 91%, 25%)
CMYKcmyk(47.7%, 90.8%, 0%, 74.5%)
CIE-LABlab(7.70, 28.07, -31.13)
CIE-LCHlch(7.70, 41.92, 312.05°)
OKLaboklab(21.72% 0.0494 -0.0891)
OKLCHoklch(21.72% 0.102 299)
XYZxyz(1.6787, 0.8520, 5.0760)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220641 #254106
analogous
#060741 #220641 #400641
triadic
#220641 #412206 #064122
tetradic
#220641 #410607 #254106 #064140
square
#220641 #410607 #254106 #064140
split-complementary
#220641 #414006 #074106
monochromatic
#0F031C #0F031C #220641 #3F0B79 #5D10B1

Accessibility & contrast

On white

17.94
#220641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220641
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220641#FFFFFF#000000##FFFFFF
##2206411.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001743
Deuteranopia (green-blind)
#001640
Tritanopia (blue-blind)
#1A1624
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #220641;
/* rgb */ color: rgb(34, 6, 65);
/* oklch */ color: oklch(21.7% 0.102 299.0);
Tailwind
colors: {
  custom: {
    50: '#614976',
    500: '#220641',
    950: '#000000',
  },
}
SCSS
$custom: #220641;
$custom-light: #614976;
$custom-dark: #000000;
JSON
{
  "hex": "#220641",
  "rgb": {
    "r": 34,
    "g": 6,
    "b": 65
  },
  "hsl": {
    "h": 268.475,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.21715,
    "c": 0.1019,
    "h": 299
  },
  "luminance": 0.00852
}

Semantic roles & 50–950 ramp

primary
#220641
secondary
#548122
accent
#F92E99
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #220641

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

Preview Lab → · Contrast checker → · Palette generator →

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