#6B20AC#6B20AC

#6B20AC is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.1% C 0.203 H 302.7°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#6B20AC
RGBrgb(107, 32, 172)
HSLhsl(272, 69%, 40%)
HSVhsv(272, 81%, 67%)
CMYKcmyk(37.8%, 81.4%, 0%, 32.5%)
CIE-LABlab(32.12, 56.81, -59.87)
CIE-LCHlch(32.12, 82.53, 313.50°)
OKLaboklab(44.09% 0.1097 -0.171)
OKLCHoklch(44.09% 0.203 302.7)
XYZxyz(14.0245, 7.1374, 39.6605)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B20AC #61AC20
analogous
#2520AC #6B20AC #AC20A7
triadic
#6B20AC #AC6B20 #20AC6B
tetradic
#6B20AC #AC2520 #61AC20 #20A7AC
square
#6B20AC #AC2520 #61AC20 #20A7AC
split-complementary
#6B20AC #A7AC20 #20AC25
monochromatic
#2B0D45 #4B1678 #6B20AC #8B31D9 #A864E2

Accessibility & contrast

On white

8.65
#6B20AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6B20AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B20AC
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B20AC#FFFFFF#000000##FFFFFF
##6B20AC1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB0
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#5D4767
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6b20ac;
/* rgb */ color: rgb(107, 32, 172);
/* oklch */ color: oklch(44.1% 0.203 302.7);
Tailwind
colors: {
  custom: {
    50: '#9c66c6',
    500: '#6b20ac',
    950: '#000000',
  },
}
SCSS
$custom: #6b20ac;
$custom-light: #9c66c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b20ac",
  "rgb": {
    "r": 107,
    "g": 32,
    "b": 172
  },
  "hsl": {
    "h": 272.143,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.44085,
    "c": 0.20313,
    "h": 302.7
  },
  "luminance": 0.07137
}

Semantic roles & 50–950 ramp

primary
#6B20AC
secondary
#90C760
accent
#EB3C8E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6B20AC

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

Preview Lab → · Contrast checker → · Palette generator →

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