#6E22A0#6E22A0

#6E22A0 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.190 H 307.4°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#6E22A0
RGBrgb(110, 34, 160)
HSLhsl(276, 65%, 38%)
HSVhsv(276, 79%, 63%)
CMYKcmyk(31.2%, 78.8%, 0%, 37.3%)
CIE-LABlab(31.80, 53.84, -53.14)
CIE-LCHlch(31.80, 75.65, 315.38°)
OKLaboklab(43.65% 0.1157 -0.1511)
OKLCHoklch(43.65% 0.19 307.4)
XYZxyz(13.3462, 6.9973, 33.8984)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E22A0 #54A022
analogous
#2F22A0 #6E22A0 #A02293
triadic
#6E22A0 #A06E22 #22A06E
tetradic
#6E22A0 #A02F22 #54A022 #2293A0
square
#6E22A0 #A02F22 #54A022 #2293A0
split-complementary
#6E22A0 #93A022 #22A02F
monochromatic
#290D3B #4B176E #6E22A0 #912DD2 #AB5FDD

Accessibility & contrast

On white

8.75
#6E22A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6E22A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E22A0
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E22A0#FFFFFF#000000##FFFFFF
##6E22A01.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#664261
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6e22a0;
/* rgb */ color: rgb(110, 34, 160);
/* oklch */ color: oklch(43.6% 0.190 307.4);
Tailwind
colors: {
  custom: {
    50: '#9d66bd',
    500: '#6e22a0',
    950: '#000000',
  },
}
SCSS
$custom: #6e22a0;
$custom-light: #9d66bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6e22a0",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 276.19,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43645,
    "c": 0.19028,
    "h": 307.4
  },
  "luminance": 0.06997
}

Semantic roles & 50–950 ramp

primary
#6E22A0
secondary
#84C25C
accent
#E84083
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E22A0

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

Preview Lab → · Contrast checker → · Palette generator →

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