#6C20B3#6C20B3

#6C20B3 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.8% C 0.210 H 301.3°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#6C20B3
RGBrgb(108, 32, 179)
HSLhsl(271, 70%, 41%)
HSVhsv(271, 82%, 70%)
CMYKcmyk(39.7%, 82.1%, 0%, 29.8%)
CIE-LABlab(32.87, 58.58, -62.82)
CIE-LCHlch(32.87, 85.90, 313.00°)
OKLaboklab(44.82% 0.109 -0.1796)
OKLCHoklch(44.82% 0.21 301.3)
XYZxyz(14.8355, 7.4757, 43.3004)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C20B3 #67B320
analogous
#2220B3 #6C20B3 #B320B1
triadic
#6C20B3 #B36C20 #20B36C
tetradic
#6C20B3 #B32220 #67B320 #20B1B3
square
#6C20B3 #B32220 #67B320 #20B1B3
split-complementary
#6C20B3 #B1B320 #20B322
monochromatic
#2D0D4B #4D177F #6C20B3 #8B35DB #A969E4

Accessibility & contrast

On white

8.42
#6C20B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6C20B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C20B3
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C20B3#FFFFFF#000000##FFFFFF
##6C20B31.008.422.508.42
#FFFFFF8.421.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#5C4A6B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6c20b3;
/* rgb */ color: rgb(108, 32, 179);
/* oklch */ color: oklch(44.8% 0.210 301.3);
Tailwind
colors: {
  custom: {
    50: '#9d66cb',
    500: '#6c20b3',
    950: '#000000',
  },
}
SCSS
$custom: #6c20b3;
$custom-light: #9d66cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c20b3",
  "rgb": {
    "r": 108,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 271.02,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44822,
    "c": 0.21009,
    "h": 301.3
  },
  "luminance": 0.07476
}

Semantic roles & 50–950 ramp

primary
#6C20B3
secondary
#96CA65
accent
#EC3B91
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6C20B3

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

Preview Lab → · Contrast checker → · Palette generator →

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