#6C20BD#6C20BD

#6C20BD is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.7% C 0.220 H 298.8°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#6C20BD
RGBrgb(108, 32, 189)
HSLhsl(269, 71%, 43%)
HSVhsv(269, 83%, 74%)
CMYKcmyk(42.9%, 83.1%, 0%, 25.9%)
CIE-LABlab(33.76, 60.91, -67.28)
CIE-LCHlch(33.76, 90.76, 312.16°)
OKLaboklab(45.72% 0.1057 -0.1927)
OKLCHoklch(45.72% 0.22 298.8)
XYZxyz(15.8838, 7.8950, 48.8213)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C20BD #71BD20
analogous
#2022BD #6C20BD #BA20BD
triadic
#6C20BD #BD6C20 #20BD6C
tetradic
#6C20BD #BD2022 #71BD20 #20BDBA
square
#6C20BD #BD2022 #71BD20 #20BDBA
split-complementary
#6C20BD #BDBA20 #22BD20
monochromatic
#300E54 #4E1789 #6C20BD #8B3CDE #AA71E7

Accessibility & contrast

On white

8.14
#6C20BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6C20BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C20BD
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C20BD#FFFFFF#000000##FFFFFF
##6C20BD1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC1
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#574E71
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6c20bd;
/* rgb */ color: rgb(108, 32, 189);
/* oklch */ color: oklch(45.7% 0.220 298.8);
Tailwind
colors: {
  custom: {
    50: '#9e67d2',
    500: '#6c20bd',
    950: '#000000',
  },
}
SCSS
$custom: #6c20bd;
$custom-light: #9e67d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c20bd",
  "rgb": {
    "r": 108,
    "g": 32,
    "b": 189
  },
  "hsl": {
    "h": 269.045,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45716,
    "c": 0.21976,
    "h": 298.8
  },
  "luminance": 0.07895
}

Semantic roles & 50–950 ramp

primary
#6C20BD
secondary
#9ECD6B
accent
#EE3A97
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6C20BD

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

Preview Lab → · Contrast checker → · Palette generator →

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