#6E22BB#6E22BB

#6E22BB is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.9% C 0.216 H 299.9°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#6E22BB
RGBrgb(110, 34, 187)
HSLhsl(270, 69%, 43%)
HSVhsv(270, 82%, 73%)
CMYKcmyk(41.2%, 81.8%, 0%, 26.7%)
CIE-LABlab(34.08, 60.04, -65.57)
CIE-LCHlch(34.08, 88.91, 312.48°)
OKLaboklab(45.94% 0.108 -0.1876)
OKLCHoklch(45.94% 0.216 299.9)
XYZxyz(15.9698, 8.0467, 47.7159)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E22BB #6FBB22
analogous
#2222BB #6E22BB #BA22BB
triadic
#6E22BB #BB6E22 #22BB6E
tetradic
#6E22BB #BB2222 #6FBB22 #22BBBA
square
#6E22BB #BB2222 #6FBB22 #22BBBA
split-complementary
#6E22BB #BBBA22 #22BB22
monochromatic
#310F53 #501987 #6E22BB #8D3EDC #AB72E5

Accessibility & contrast

On white

8.05
#6E22BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6E22BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E22BB
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E22BB#FFFFFF#000000##FFFFFF
##6E22BB1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BF
Deuteranopia (green-blind)
#004FB8
Tritanopia (blue-blind)
#5B4E70
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6e22bb;
/* rgb */ color: rgb(110, 34, 187);
/* oklch */ color: oklch(45.9% 0.216 299.9);
Tailwind
colors: {
  custom: {
    50: '#9f68d1',
    500: '#6e22bb',
    950: '#000000',
  },
}
SCSS
$custom: #6e22bb;
$custom-light: #9f68d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e22bb",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 187
  },
  "hsl": {
    "h": 269.804,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45937,
    "c": 0.21647,
    "h": 299.9
  },
  "luminance": 0.08047
}

Semantic roles & 50–950 ramp

primary
#6E22BB
secondary
#9DCC6D
accent
#EC3C94
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #6E22BB

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

Preview Lab → · Contrast checker → · Palette generator →

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