#6E22B0#6E22B0

#6E22B0 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 45.0% C 0.206 H 302.8°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#6E22B0
RGBrgb(110, 34, 176)
HSLhsl(272, 68%, 41%)
HSVhsv(272, 81%, 69%)
CMYKcmyk(37.5%, 80.7%, 0%, 31%)
CIE-LABlab(33.12, 57.49, -60.61)
CIE-LCHlch(33.12, 83.53, 313.49°)
OKLaboklab(44.98% 0.1114 -0.173)
OKLCHoklch(44.98% 0.206 302.8)
XYZxyz(14.8370, 7.5936, 41.7499)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E22B0 #64B022
analogous
#2722B0 #6E22B0 #B022AB
triadic
#6E22B0 #B06E22 #22B06E
tetradic
#6E22B0 #B02722 #64B022 #22ABB0
square
#6E22B0 #B02722 #64B022 #22ABB0
split-complementary
#6E22B0 #ABB022 #22B027
monochromatic
#2E0E49 #4E187D #6E22B0 #8D37D8 #AA6AE2

Accessibility & contrast

On white

8.34
#6E22B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6E22B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E22B0
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E22B0#FFFFFF#000000##FFFFFF
##6E22B01.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#60496A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6e22b0;
/* rgb */ color: rgb(110, 34, 176);
/* oklch */ color: oklch(45.0% 0.206 302.8);
Tailwind
colors: {
  custom: {
    50: '#9e67c9',
    500: '#6e22b0',
    950: '#000000',
  },
}
SCSS
$custom: #6e22b0;
$custom-light: #9e67c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e22b0",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 176
  },
  "hsl": {
    "h": 272.113,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44978,
    "c": 0.20579,
    "h": 302.8
  },
  "luminance": 0.07594
}

Semantic roles & 50–950 ramp

primary
#6E22B0
secondary
#93C866
accent
#EA3D8E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E22B0

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

Preview Lab → · Contrast checker → · Palette generator →

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