#6E22A2#6E22A2

#6E22A2 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.8% C 0.192 H 306.8°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#6E22A2
RGBrgb(110, 34, 162)
HSLhsl(276, 65%, 38%)
HSVhsv(276, 79%, 64%)
CMYKcmyk(32.1%, 79%, 0%, 36.5%)
CIE-LABlab(31.96, 54.29, -54.09)
CIE-LCHlch(31.96, 76.64, 315.11°)
OKLaboklab(43.81% 0.1152 -0.1539)
OKLCHoklch(43.81% 0.192 306.8)
XYZxyz(13.5226, 7.0678, 34.8273)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E22A2 #56A222
analogous
#2E22A2 #6E22A2 #A22296
triadic
#6E22A2 #A26E22 #22A26E
tetradic
#6E22A2 #A22E22 #56A222 #2296A2
square
#6E22A2 #A22E22 #56A222 #2296A2
split-complementary
#6E22A2 #96A222 #22A22E
monochromatic
#290D3D #4C176F #6E22A2 #902ED3 #AB61DE

Accessibility & contrast

On white

8.70
#6E22A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6E22A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E22A2
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E22A2#FFFFFF#000000##FFFFFF
##6E22A21.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#004C9F
Tritanopia (blue-blind)
#654362
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6e22a2;
/* rgb */ color: rgb(110, 34, 162);
/* oklch */ color: oklch(43.8% 0.192 306.8);
Tailwind
colors: {
  custom: {
    50: '#9d66be',
    500: '#6e22a2',
    950: '#000000',
  },
}
SCSS
$custom: #6e22a2;
$custom-light: #9d66be;
$custom-dark: #000000;
JSON
{
  "hex": "#6e22a2",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 162
  },
  "hsl": {
    "h": 275.625,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43807,
    "c": 0.19221,
    "h": 306.8
  },
  "luminance": 0.07068
}

Semantic roles & 50–950 ramp

primary
#6E22A2
secondary
#86C35D
accent
#E84084
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E22A2

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

Preview Lab → · Contrast checker → · Palette generator →

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