#6A20A8#6A20A8

#6A20A8 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.6% C 0.199 H 303.3°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#6A20A8
RGBrgb(106, 32, 168)
HSLhsl(273, 68%, 39%)
HSVhsv(273, 81%, 66%)
CMYKcmyk(36.9%, 81%, 0%, 34.1%)
CIE-LABlab(31.63, 55.73, -58.26)
CIE-LCHlch(31.63, 80.63, 313.73°)
OKLaboklab(43.61% 0.1094 -0.1663)
OKLCHoklch(43.61% 0.199 303.3)
XYZxyz(13.5266, 6.9244, 37.6621)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A20A8 #5EA820
analogous
#2620A8 #6A20A8 #A820A2
triadic
#6A20A8 #A86A20 #20A86A
tetradic
#6A20A8 #A82620 #5EA820 #20A2A8
square
#6A20A8 #A82620 #5EA820 #20A2A8
split-complementary
#6A20A8 #A2A820 #20A826
monochromatic
#290C41 #4A1675 #6A20A8 #8A2ED7 #A761E1

Accessibility & contrast

On white

8.81
#6A20A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6A20A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A20A8
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A20A8#FFFFFF#000000##FFFFFF
##6A20A81.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#004AA5
Tritanopia (blue-blind)
#5D4565
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6a20a8;
/* rgb */ color: rgb(106, 32, 168);
/* oklch */ color: oklch(43.6% 0.199 303.3);
Tailwind
colors: {
  custom: {
    50: '#9b65c3',
    500: '#6a20a8',
    950: '#000000',
  },
}
SCSS
$custom: #6a20a8;
$custom-light: #9b65c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a20a8",
  "rgb": {
    "r": 106,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 272.647,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43613,
    "c": 0.19904,
    "h": 303.3
  },
  "luminance": 0.06924
}

Semantic roles & 50–950 ramp

primary
#6A20A8
secondary
#8DC65E
accent
#EB3D8C
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6A20A8

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

Preview Lab → · Contrast checker → · Palette generator →

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