#6D20BD#6D20BD

#6D20BD is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.8% C 0.220 H 299.2°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#6D20BD
RGBrgb(109, 32, 189)
HSLhsl(269, 71%, 43%)
HSVhsv(269, 83%, 74%)
CMYKcmyk(42.3%, 83.1%, 0%, 25.9%)
CIE-LABlab(33.90, 61.05, -67.06)
CIE-LCHlch(33.90, 90.68, 312.31°)
OKLaboklab(45.84% 0.1072 -0.192)
OKLCHoklch(45.84% 0.22 299.2)
XYZxyz(16.0061, 7.9581, 48.8270)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D20BD #70BD20
analogous
#2021BD #6D20BD #BB20BD
triadic
#6D20BD #BD6D20 #20BD6D
tetradic
#6D20BD #BD2021 #70BD20 #20BDBB
square
#6D20BD #BD2021 #70BD20 #20BDBB
split-complementary
#6D20BD #BDBB20 #21BD20
monochromatic
#310E54 #4F1789 #6D20BD #8C3CDE #AB71E7

Accessibility & contrast

On white

8.10
#6D20BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6D20BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D20BD
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D20BD#FFFFFF#000000##FFFFFF
##6D20BD1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#594E71
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6d20bd;
/* rgb */ color: rgb(109, 32, 189);
/* oklch */ color: oklch(45.8% 0.220 299.2);
Tailwind
colors: {
  custom: {
    50: '#9f67d2',
    500: '#6d20bd',
    950: '#000000',
  },
}
SCSS
$custom: #6d20bd;
$custom-light: #9f67d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d20bd",
  "rgb": {
    "r": 109,
    "g": 32,
    "b": 189
  },
  "hsl": {
    "h": 269.427,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45835,
    "c": 0.21988,
    "h": 299.2
  },
  "luminance": 0.07958
}

Semantic roles & 50–950 ramp

primary
#6D20BD
secondary
#9DCD6B
accent
#EE3A96
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #6D20BD

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

Preview Lab → · Contrast checker → · Palette generator →

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