#6B22AA#6B22AA

#6B22AA is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.1% C 0.199 H 303.1°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#6B22AA
RGBrgb(107, 34, 170)
HSLhsl(272, 67%, 40%)
HSVhsv(272, 80%, 67%)
CMYKcmyk(37.1%, 80%, 0%, 33.3%)
CIE-LABlab(32.20, 55.62, -58.54)
CIE-LCHlch(32.20, 80.75, 313.53°)
OKLaboklab(44.09% 0.1088 -0.1671)
OKLCHoklch(44.09% 0.199 303.1)
XYZxyz(13.8894, 7.1721, 38.6750)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B22AA #61AA22
analogous
#2722AA #6B22AA #AA22A5
triadic
#6B22AA #AA6B22 #22AA6B
tetradic
#6B22AA #AA2722 #61AA22 #22A5AA
square
#6B22AA #AA2722 #61AA22 #22A5AA
split-complementary
#6B22AA #A5AA22 #22AA27
monochromatic
#2B0E44 #4B1877 #6B22AA #8B33D6 #A866E0

Accessibility & contrast

On white

8.63
#6B22AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6B22AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B22AA
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B22AA#FFFFFF#000000##FFFFFF
##6B22AA1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#004BA7
Tritanopia (blue-blind)
#5E4766
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6b22aa;
/* rgb */ color: rgb(107, 34, 170);
/* oklch */ color: oklch(44.1% 0.199 303.1);
Tailwind
colors: {
  custom: {
    50: '#9c67c4',
    500: '#6b22aa',
    950: '#000000',
  },
}
SCSS
$custom: #6b22aa;
$custom-light: #9c67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b22aa",
  "rgb": {
    "r": 107,
    "g": 34,
    "b": 170
  },
  "hsl": {
    "h": 272.206,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.44087,
    "c": 0.19937,
    "h": 303.1
  },
  "luminance": 0.07172
}

Semantic roles & 50–950 ramp

primary
#6B22AA
secondary
#90C662
accent
#EA3E8E
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6B22AA

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

Preview Lab → · Contrast checker → · Palette generator →

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