#6C20A5#6C20A5

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

Color values

HEX#6C20A5
RGBrgb(108, 32, 165)
HSLhsl(274, 68%, 39%)
HSVhsv(274, 81%, 65%)
CMYKcmyk(34.5%, 80.6%, 0%, 35.3%)
CIE-LABlab(31.67, 55.36, -56.39)
CIE-LCHlch(31.67, 79.03, 314.47°)
OKLaboklab(43.62% 0.1132 -0.1607)
OKLCHoklch(43.62% 0.197 305.2)
XYZxyz(13.4908, 6.9379, 36.2184)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C20A5 #59A520
analogous
#2920A5 #6C20A5 #A5209B
triadic
#6C20A5 #A56C20 #20A56C
tetradic
#6C20A5 #A52920 #59A520 #209BA5
square
#6C20A5 #A52920 #59A520 #209BA5
split-complementary
#6C20A5 #9BA520 #20A529
monochromatic
#290C3E #4A1672 #6C20A5 #8D2CD6 #A95FE0

Accessibility & contrast

On white

8.80
#6C20A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6C20A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C20A5
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C20A5#FFFFFF#000000##FFFFFF
##6C20A51.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A9
Deuteranopia (green-blind)
#004BA2
Tritanopia (blue-blind)
#614463
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6c20a5;
/* rgb */ color: rgb(108, 32, 165);
/* oklch */ color: oklch(43.6% 0.197 305.2);
Tailwind
colors: {
  custom: {
    50: '#9c65c1',
    500: '#6c20a5',
    950: '#000000',
  },
}
SCSS
$custom: #6c20a5;
$custom-light: #9c65c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c20a5",
  "rgb": {
    "r": 108,
    "g": 32,
    "b": 165
  },
  "hsl": {
    "h": 274.286,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43617,
    "c": 0.19656,
    "h": 305.2
  },
  "luminance": 0.06938
}

Semantic roles & 50–950 ramp

primary
#6C20A5
secondary
#89C55C
accent
#EA3D88
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C20A5

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

Preview Lab → · Contrast checker → · Palette generator →

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