#6B22AE#6B22AE

#6B22AE is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.4% C 0.203 H 302.0°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#6B22AE
RGBrgb(107, 34, 174)
HSLhsl(271, 67%, 41%)
HSVhsv(271, 80%, 68%)
CMYKcmyk(38.5%, 80.5%, 0%, 31.8%)
CIE-LABlab(32.54, 56.55, -60.38)
CIE-LCHlch(32.54, 82.73, 313.12°)
OKLaboklab(44.43% 0.1076 -0.1725)
OKLCHoklch(44.43% 0.203 302)
XYZxyz(14.2736, 7.3258, 40.6982)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B22AE #65AE22
analogous
#2522AE #6B22AE #AE22AB
triadic
#6B22AE #AE6B22 #22AE6B
tetradic
#6B22AE #AE2522 #65AE22 #22ABAE
square
#6B22AE #AE2522 #65AE22 #22ABAE
split-complementary
#6B22AE #ABAE22 #22AE25
monochromatic
#2C0E48 #4C187B #6B22AE #8A36D8 #A869E2

Accessibility & contrast

On white

8.52
#6B22AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6B22AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B22AE
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B22AE#FFFFFF#000000##FFFFFF
##6B22AE1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#004CAB
Tritanopia (blue-blind)
#5C4969
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6b22ae;
/* rgb */ color: rgb(107, 34, 174);
/* oklch */ color: oklch(44.4% 0.203 302.0);
Tailwind
colors: {
  custom: {
    50: '#9c67c7',
    500: '#6b22ae',
    950: '#000000',
  },
}
SCSS
$custom: #6b22ae;
$custom-light: #9c67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b22ae",
  "rgb": {
    "r": 107,
    "g": 34,
    "b": 174
  },
  "hsl": {
    "h": 271.286,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4443,
    "c": 0.20329,
    "h": 302
  },
  "luminance": 0.07326
}

Semantic roles & 50–950 ramp

primary
#6B22AE
secondary
#94C764
accent
#EA3E90
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6B22AE

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

Preview Lab → · Contrast checker → · Palette generator →

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