#6E22B3#6E22B3

#6E22B3 is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.2% C 0.209 H 302.0°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#6E22B3
RGBrgb(110, 34, 179)
HSLhsl(271, 68%, 42%)
HSVhsv(271, 81%, 70%)
CMYKcmyk(38.5%, 81%, 0%, 29.8%)
CIE-LABlab(33.38, 58.18, -61.97)
CIE-LCHlch(33.38, 85.00, 313.19°)
OKLaboklab(45.24% 0.1105 -0.177)
OKLCHoklch(45.24% 0.209 302)
XYZxyz(15.1371, 7.7137, 43.3305)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E22B3 #67B322
analogous
#2522B3 #6E22B3 #B322B0
triadic
#6E22B3 #B36E22 #22B36E
tetradic
#6E22B3 #B32522 #67B322 #22B0B3
square
#6E22B3 #B32522 #67B322 #22B0B3
split-complementary
#6E22B3 #B0B322 #22B325
monochromatic
#2F0E4C #4E1880 #6E22B3 #8D39D9 #AB6CE3

Accessibility & contrast

On white

8.26
#6E22B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6E22B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E22B3
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E22B3#FFFFFF#000000##FFFFFF
##6E22B31.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#5F4A6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6e22b3;
/* rgb */ color: rgb(110, 34, 179);
/* oklch */ color: oklch(45.2% 0.209 302.0);
Tailwind
colors: {
  custom: {
    50: '#9e67cb',
    500: '#6e22b3',
    950: '#000000',
  },
}
SCSS
$custom: #6e22b3;
$custom-light: #9e67cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e22b3",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 271.448,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45236,
    "c": 0.20871,
    "h": 302
  },
  "luminance": 0.07714
}

Semantic roles & 50–950 ramp

primary
#6E22B3
secondary
#96C968
accent
#EB3D90
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E22B3

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

Preview Lab → · Contrast checker → · Palette generator →

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