#6E22BE#6E22BE

#6E22BE is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.2% C 0.219 H 299.2°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#6E22BE
RGBrgb(110, 34, 190)
HSLhsl(269, 70%, 44%)
HSVhsv(269, 82%, 75%)
CMYKcmyk(42.1%, 82.1%, 0%, 25.5%)
CIE-LABlab(34.35, 60.74, -66.90)
CIE-LCHlch(34.35, 90.36, 312.24°)
OKLaboklab(46.2% 0.1071 -0.1915)
OKLCHoklch(46.2% 0.219 299.2)
XYZxyz(16.2943, 8.1765, 49.4250)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E22BE #72BE22
analogous
#2224BE #6E22BE #BC22BE
triadic
#6E22BE #BE6E22 #22BE6E
tetradic
#6E22BE #BE2224 #72BE22 #22BEBC
square
#6E22BE #BE2224 #72BE22 #22BEBC
split-complementary
#6E22BE #BEBC22 #24BE22
monochromatic
#320F56 #50198A #6E22BE #8D40DD #AC74E6

Accessibility & contrast

On white

7.97
#6E22BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6E22BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E22BE
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E22BE#FFFFFF#000000##FFFFFF
##6E22BE1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C2
Deuteranopia (green-blind)
#004FBB
Tritanopia (blue-blind)
#5A4F72
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6e22be;
/* rgb */ color: rgb(110, 34, 190);
/* oklch */ color: oklch(46.2% 0.219 299.2);
Tailwind
colors: {
  custom: {
    50: '#9f68d3',
    500: '#6e22be',
    950: '#000000',
  },
}
SCSS
$custom: #6e22be;
$custom-light: #9f68d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e22be",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 190
  },
  "hsl": {
    "h": 269.231,
    "s": 69.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46204,
    "c": 0.21939,
    "h": 299.2
  },
  "luminance": 0.08177
}

Semantic roles & 50–950 ramp

primary
#6E22BE
secondary
#9FCD6F
accent
#EC3B96
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #6E22BE

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

Preview Lab → · Contrast checker → · Palette generator →

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