#6A20A0#6A20A0

#6A20A0 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.191 H 305.7°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#6A20A0
RGBrgb(106, 32, 160)
HSLhsl(275, 67%, 38%)
HSVhsv(275, 80%, 63%)
CMYKcmyk(33.7%, 80%, 0%, 37.3%)
CIE-LABlab(30.96, 53.89, -54.53)
CIE-LCHlch(30.96, 76.67, 314.66°)
OKLaboklab(42.94% 0.1117 -0.1553)
OKLCHoklch(42.94% 0.191 305.7)
XYZxyz(12.8041, 6.6354, 33.8571)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A20A0 #56A020
analogous
#2A20A0 #6A20A0 #A02096
triadic
#6A20A0 #A06A20 #20A06A
tetradic
#6A20A0 #A02A20 #56A020 #2096A0
square
#6A20A0 #A02A20 #56A020 #2096A0
split-complementary
#6A20A0 #96A020 #20A02A
monochromatic
#260C3A #48166D #6A20A0 #8C2AD3 #A75CDE

Accessibility & contrast

On white

9.02
#6A20A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6A20A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A20A0
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A20A0#FFFFFF#000000##FFFFFF
##6A20A01.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#604260
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6a20a0;
/* rgb */ color: rgb(106, 32, 160);
/* oklch */ color: oklch(42.9% 0.191 305.7);
Tailwind
colors: {
  custom: {
    50: '#9a65bd',
    500: '#6a20a0',
    950: '#000000',
  },
}
SCSS
$custom: #6a20a0;
$custom-light: #9a65bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a20a0",
  "rgb": {
    "r": 106,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 274.688,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42937,
    "c": 0.19126,
    "h": 305.7
  },
  "luminance": 0.06635
}

Semantic roles & 50–950 ramp

primary
#6A20A0
secondary
#86C359
accent
#EA3E87
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6A20A0

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

Preview Lab → · Contrast checker → · Palette generator →

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