#6E22BD#6E22BD

#6E22BD is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 46.1% C 0.218 H 299.4°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#6E22BD
RGBrgb(110, 34, 189)
HSLhsl(269, 70%, 44%)
HSVhsv(269, 82%, 74%)
CMYKcmyk(41.8%, 82%, 0%, 25.9%)
CIE-LABlab(34.26, 60.51, -66.46)
CIE-LCHlch(34.26, 89.88, 312.32°)
OKLaboklab(46.12% 0.1074 -0.1902)
OKLCHoklch(46.12% 0.218 299.4)
XYZxyz(16.1854, 8.1330, 48.8513)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E22BD #71BD22
analogous
#2224BD #6E22BD #BB22BD
triadic
#6E22BD #BD6E22 #22BD6E
tetradic
#6E22BD #BD2224 #71BD22 #22BDBB
square
#6E22BD #BD2224 #71BD22 #22BDBB
split-complementary
#6E22BD #BDBB22 #24BD22
monochromatic
#320F55 #501989 #6E22BD #8D40DD #AC73E6

Accessibility & contrast

On white

8.00
#6E22BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6E22BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E22BD
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E22BD#FFFFFF#000000##FFFFFF
##6E22BD1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#5B4F71
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6e22bd;
/* rgb */ color: rgb(110, 34, 189);
/* oklch */ color: oklch(46.1% 0.218 299.4);
Tailwind
colors: {
  custom: {
    50: '#9f68d2',
    500: '#6e22bd',
    950: '#000000',
  },
}
SCSS
$custom: #6e22bd;
$custom-light: #9f68d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e22bd",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 269.419,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46115,
    "c": 0.21842,
    "h": 299.4
  },
  "luminance": 0.08133
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6E22BD

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

Preview Lab → · Contrast checker → · Palette generator →

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