#6A20AA#6A20AA

#6A20AA is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.8% C 0.201 H 302.8°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#6A20AA
RGBrgb(106, 32, 170)
HSLhsl(272, 68%, 40%)
HSVhsv(272, 81%, 67%)
CMYKcmyk(37.6%, 81.2%, 0%, 33.3%)
CIE-LABlab(31.81, 56.19, -59.19)
CIE-LCHlch(31.81, 81.61, 313.51°)
OKLaboklab(43.79% 0.1088 -0.169)
OKLCHoklch(43.79% 0.201 302.8)
XYZxyz(13.7143, 6.9995, 38.6509)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A20AA #60AA20
analogous
#2520AA #6A20AA #AA20A5
triadic
#6A20AA #AA6A20 #20AA6A
tetradic
#6A20AA #AA2520 #60AA20 #20A5AA
square
#6A20AA #AA2520 #60AA20 #20A5AA
split-complementary
#6A20AA #A5AA20 #20AA25
monochromatic
#2A0D43 #4A1676 #6A20AA #8A2FD8 #A763E2

Accessibility & contrast

On white

8.75
#6A20AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6A20AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A20AA
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A20AA#FFFFFF#000000##FFFFFF
##6A20AA1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#5C4666
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6a20aa;
/* rgb */ color: rgb(106, 32, 170);
/* oklch */ color: oklch(43.8% 0.201 302.8);
Tailwind
colors: {
  custom: {
    50: '#9b66c4',
    500: '#6a20aa',
    950: '#000000',
  },
}
SCSS
$custom: #6a20aa;
$custom-light: #9b66c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a20aa",
  "rgb": {
    "r": 106,
    "g": 32,
    "b": 170
  },
  "hsl": {
    "h": 272.174,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43786,
    "c": 0.201,
    "h": 302.8
  },
  "luminance": 0.06999
}

Semantic roles & 50–950 ramp

primary
#6A20AA
secondary
#8FC75F
accent
#EB3D8E
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6A20AA

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

Preview Lab → · Contrast checker → · Palette generator →

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