#6C22BB#6C22BB

#6C22BB is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.7% C 0.216 H 299.1°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#6C22BB
RGBrgb(108, 34, 187)
HSLhsl(269, 69%, 43%)
HSVhsv(269, 82%, 73%)
CMYKcmyk(42.2%, 81.8%, 0%, 26.7%)
CIE-LABlab(33.82, 59.76, -66.01)
CIE-LCHlch(33.82, 89.04, 312.15°)
OKLaboklab(45.7% 0.1051 -0.189)
OKLCHoklch(45.7% 0.216 299.1)
XYZxyz(15.7237, 7.9198, 47.7043)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C22BB #71BB22
analogous
#2224BB #6C22BB #B822BB
triadic
#6C22BB #BB6C22 #22BB6C
tetradic
#6C22BB #BB2224 #71BB22 #22BBB8
square
#6C22BB #BB2224 #71BB22 #22BBB8
split-complementary
#6C22BB #BBB822 #24BB22
monochromatic
#300F53 #4E1987 #6C22BB #8B3EDC #AA72E5

Accessibility & contrast

On white

8.13
#6C22BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6C22BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C22BB
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C22BB#FFFFFF#000000##FFFFFF
##6C22BB1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBF
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#584E70
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6c22bb;
/* rgb */ color: rgb(108, 34, 187);
/* oklch */ color: oklch(45.7% 0.216 299.1);
Tailwind
colors: {
  custom: {
    50: '#9e68d1',
    500: '#6c22bb',
    950: '#000000',
  },
}
SCSS
$custom: #6c22bb;
$custom-light: #9e68d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c22bb",
  "rgb": {
    "r": 108,
    "g": 34,
    "b": 187
  },
  "hsl": {
    "h": 269.02,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45696,
    "c": 0.2162,
    "h": 299.1
  },
  "luminance": 0.0792
}

Semantic roles & 50–950 ramp

primary
#6C22BB
secondary
#9ECC6D
accent
#EC3C97
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6C22BB

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

Preview Lab → · Contrast checker → · Palette generator →

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