#6D22BA#6D22BA

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

Color values

HEX#6D22BA
RGBrgb(109, 34, 186)
HSLhsl(270, 69%, 43%)
HSVhsv(270, 82%, 73%)
CMYKcmyk(41.4%, 81.7%, 0%, 27.1%)
CIE-LABlab(33.86, 59.66, -65.35)
CIE-LCHlch(33.86, 88.49, 312.40°)
OKLaboklab(45.73% 0.1069 -0.187)
OKLCHoklch(45.73% 0.215 299.8)
XYZxyz(15.7394, 7.9402, 47.1482)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D22BA #6FBA22
analogous
#2223BA #6D22BA #B922BA
triadic
#6D22BA #BA6D22 #22BA6D
tetradic
#6D22BA #BA2223 #6FBA22 #22BAB9
square
#6D22BA #BA2223 #6FBA22 #22BAB9
split-complementary
#6D22BA #BAB922 #23BA22
monochromatic
#300F53 #4F1986 #6D22BA #8C3EDC #AA71E5

Accessibility & contrast

On white

8.11
#6D22BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6D22BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D22BA
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D22BA#FFFFFF#000000##FFFFFF
##6D22BA1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBE
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#5A4E70
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6d22ba;
/* rgb */ color: rgb(109, 34, 186);
/* oklch */ color: oklch(45.7% 0.215 299.8);
Tailwind
colors: {
  custom: {
    50: '#9e68d0',
    500: '#6d22ba',
    950: '#000000',
  },
}
SCSS
$custom: #6d22ba;
$custom-light: #9e68d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d22ba",
  "rgb": {
    "r": 109,
    "g": 34,
    "b": 186
  },
  "hsl": {
    "h": 269.605,
    "s": 69.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45727,
    "c": 0.21536,
    "h": 299.8
  },
  "luminance": 0.0794
}

Semantic roles & 50–950 ramp

primary
#6D22BA
secondary
#9DCC6C
accent
#EC3C95
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6D22BA

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

Preview Lab → · Contrast checker → · Palette generator →

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