#6D22BB#6D22BB

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

Color values

HEX#6D22BB
RGBrgb(109, 34, 187)
HSLhsl(269, 69%, 43%)
HSVhsv(269, 82%, 73%)
CMYKcmyk(41.7%, 81.8%, 0%, 26.7%)
CIE-LABlab(33.95, 59.90, -65.79)
CIE-LCHlch(33.95, 88.97, 312.32°)
OKLaboklab(45.82% 0.1066 -0.1883)
OKLCHoklch(45.82% 0.216 299.5)
XYZxyz(15.8461, 7.9829, 47.7101)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D22BB #70BB22
analogous
#2223BB #6D22BB #B922BB
triadic
#6D22BB #BB6D22 #22BB6D
tetradic
#6D22BB #BB2223 #70BB22 #22BBB9
square
#6D22BB #BB2223 #70BB22 #22BBB9
split-complementary
#6D22BB #BBB922 #23BB22
monochromatic
#310F53 #4F1987 #6D22BB #8C3EDC #AB72E5

Accessibility & contrast

On white

8.09
#6D22BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6D22BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D22BB
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D22BB#FFFFFF#000000##FFFFFF
##6D22BB1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d22bb;
/* rgb */ color: rgb(109, 34, 187);
/* oklch */ color: oklch(45.8% 0.216 299.5);
Tailwind
colors: {
  custom: {
    50: '#9f68d1',
    500: '#6d22bb',
    950: '#000000',
  },
}
SCSS
$custom: #6d22bb;
$custom-light: #9f68d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d22bb",
  "rgb": {
    "r": 109,
    "g": 34,
    "b": 187
  },
  "hsl": {
    "h": 269.412,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45816,
    "c": 0.21634,
    "h": 299.5
  },
  "luminance": 0.07983
}

Semantic roles & 50–950 ramp

primary
#6D22BB
secondary
#9DCC6D
accent
#EC3C96
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6D22BB

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

Preview Lab → · Contrast checker → · Palette generator →

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