#6A20BD#6A20BD

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

Color values

HEX#6A20BD
RGBrgb(106, 32, 189)
HSLhsl(268, 71%, 43%)
HSVhsv(268, 83%, 74%)
CMYKcmyk(43.9%, 83.1%, 0%, 25.9%)
CIE-LABlab(33.50, 60.64, -67.72)
CIE-LCHlch(33.50, 90.90, 311.84°)
OKLaboklab(45.48% 0.1027 -0.194)
OKLCHoklch(45.48% 0.22 297.9)
XYZxyz(15.6433, 7.7710, 48.8100)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A20BD #73BD20
analogous
#2025BD #6A20BD #B820BD
triadic
#6A20BD #BD6A20 #20BD6A
tetradic
#6A20BD #BD2025 #73BD20 #20BDB8
square
#6A20BD #BD2025 #73BD20 #20BDB8
split-complementary
#6A20BD #BDB820 #25BD20
monochromatic
#2F0E54 #4D1789 #6A20BD #883CDE #A871E7

Accessibility & contrast

On white

8.22
#6A20BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6A20BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A20BD
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A20BD#FFFFFF#000000##FFFFFF
##6A20BD1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a20bd;
/* rgb */ color: rgb(106, 32, 189);
/* oklch */ color: oklch(45.5% 0.220 297.9);
Tailwind
colors: {
  custom: {
    50: '#9d67d2',
    500: '#6a20bd',
    950: '#000000',
  },
}
SCSS
$custom: #6a20bd;
$custom-light: #9d67d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a20bd",
  "rgb": {
    "r": 106,
    "g": 32,
    "b": 189
  },
  "hsl": {
    "h": 268.28,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45478,
    "c": 0.21951,
    "h": 297.9
  },
  "luminance": 0.07771
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A20BD

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

Preview Lab → · Contrast checker → · Palette generator →

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