#6B20BD#6B20BD

#6B20BD is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.6% C 0.220 H 298.3°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#6B20BD
RGBrgb(107, 32, 189)
HSLhsl(269, 71%, 43%)
HSVhsv(269, 83%, 74%)
CMYKcmyk(43.4%, 83.1%, 0%, 25.9%)
CIE-LABlab(33.63, 60.78, -67.50)
CIE-LCHlch(33.63, 90.83, 312.00°)
OKLaboklab(45.6% 0.1042 -0.1933)
OKLCHoklch(45.6% 0.22 298.3)
XYZxyz(15.7628, 7.8327, 48.8156)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B20BD #72BD20
analogous
#2024BD #6B20BD #B920BD
triadic
#6B20BD #BD6B20 #20BD6B
tetradic
#6B20BD #BD2024 #72BD20 #20BDB9
square
#6B20BD #BD2024 #72BD20 #20BDB9
split-complementary
#6B20BD #BDB920 #24BD20
monochromatic
#300E54 #4D1789 #6B20BD #893CDE #A971E7

Accessibility & contrast

On white

8.18
#6B20BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6B20BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B20BD
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B20BD#FFFFFF#000000##FFFFFF
##6B20BD1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b20bd;
/* rgb */ color: rgb(107, 32, 189);
/* oklch */ color: oklch(45.6% 0.220 298.3);
Tailwind
colors: {
  custom: {
    50: '#9e67d2',
    500: '#6b20bd',
    950: '#000000',
  },
}
SCSS
$custom: #6b20bd;
$custom-light: #9e67d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b20bd",
  "rgb": {
    "r": 107,
    "g": 32,
    "b": 189
  },
  "hsl": {
    "h": 268.662,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45597,
    "c": 0.21963,
    "h": 298.3
  },
  "luminance": 0.07833
}

Semantic roles & 50–950 ramp

primary
#6B20BD
secondary
#9FCD6B
accent
#EE3A98
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6B20BD

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

Preview Lab → · Contrast checker → · Palette generator →

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