#6C20A0#6C20A0

#6C20A0 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.192 H 306.7°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#6C20A0
RGBrgb(108, 32, 160)
HSLhsl(276, 67%, 38%)
HSVhsv(276, 80%, 63%)
CMYKcmyk(32.5%, 80%, 0%, 37.3%)
CIE-LABlab(31.25, 54.23, -54.04)
CIE-LCHlch(31.25, 76.56, 315.10°)
OKLaboklab(43.2% 0.1145 -0.1538)
OKLCHoklch(43.2% 0.192 306.7)
XYZxyz(13.0446, 6.7594, 33.8684)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C20A0 #54A020
analogous
#2C20A0 #6C20A0 #A02094
triadic
#6C20A0 #A06C20 #20A06C
tetradic
#6C20A0 #A02C20 #54A020 #2094A0
square
#6C20A0 #A02C20 #54A020 #2094A0
split-complementary
#6C20A0 #94A020 #20A02C
monochromatic
#270C3A #4A166D #6C20A0 #8E2AD3 #A95CDE

Accessibility & contrast

On white

8.93
#6C20A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6C20A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C20A0
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C20A0#FFFFFF#000000##FFFFFF
##6C20A01.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#634160
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6c20a0;
/* rgb */ color: rgb(108, 32, 160);
/* oklch */ color: oklch(43.2% 0.192 306.7);
Tailwind
colors: {
  custom: {
    50: '#9b65bd',
    500: '#6c20a0',
    950: '#000000',
  },
}
SCSS
$custom: #6c20a0;
$custom-light: #9b65bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6c20a0",
  "rgb": {
    "r": 108,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 275.625,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43201,
    "c": 0.19174,
    "h": 306.7
  },
  "luminance": 0.06759
}

Semantic roles & 50–950 ramp

primary
#6C20A0
secondary
#84C359
accent
#EA3E84
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C20A0

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

Preview Lab → · Contrast checker → · Palette generator →

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