#6E22AC#6E22AC

#6E22AC is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.6% C 0.202 H 303.9°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#6E22AC
RGBrgb(110, 34, 172)
HSLhsl(273, 67%, 40%)
HSVhsv(273, 80%, 67%)
CMYKcmyk(36%, 80.2%, 0%, 32.5%)
CIE-LABlab(32.78, 56.57, -58.77)
CIE-LCHlch(32.78, 81.57, 313.91°)
OKLaboklab(44.64% 0.1126 -0.1676)
OKLCHoklch(44.64% 0.202 303.9)
XYZxyz(14.4471, 7.4376, 39.6962)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E22AC #60AC22
analogous
#2922AC #6E22AC #AC22A5
triadic
#6E22AC #AC6E22 #22AC6E
tetradic
#6E22AC #AC2922 #60AC22 #22A5AC
square
#6E22AC #AC2922 #60AC22 #22A5AC
split-complementary
#6E22AC #A5AC22 #22AC29
monochromatic
#2D0E46 #4D1879 #6E22AC #8E34D7 #AA67E1

Accessibility & contrast

On white

8.44
#6E22AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6E22AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E22AC
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E22AC#FFFFFF#000000##FFFFFF
##6E22AC1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#004DA9
Tritanopia (blue-blind)
#614768
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6e22ac;
/* rgb */ color: rgb(110, 34, 172);
/* oklch */ color: oklch(44.6% 0.202 303.9);
Tailwind
colors: {
  custom: {
    50: '#9e67c6',
    500: '#6e22ac',
    950: '#000000',
  },
}
SCSS
$custom: #6e22ac;
$custom-light: #9e67c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e22ac",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 172
  },
  "hsl": {
    "h": 273.043,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44637,
    "c": 0.20191,
    "h": 303.9
  },
  "luminance": 0.07438
}

Semantic roles & 50–950 ramp

primary
#6E22AC
secondary
#90C763
accent
#EA3E8B
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6E22AC

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

Preview Lab → · Contrast checker → · Palette generator →

#6E22AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva