#6B20A5#6B20A5

#6B20A5 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.5% C 0.196 H 304.7°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#6B20A5
RGBrgb(107, 32, 165)
HSLhsl(274, 68%, 39%)
HSVhsv(274, 81%, 65%)
CMYKcmyk(35.2%, 80.6%, 0%, 35.3%)
CIE-LABlab(31.52, 55.20, -56.63)
CIE-LCHlch(31.52, 79.09, 314.27°)
OKLaboklab(43.49% 0.1117 -0.1614)
OKLCHoklch(43.49% 0.196 304.7)
XYZxyz(13.3699, 6.8755, 36.2128)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B20A5 #5AA520
analogous
#2920A5 #6B20A5 #A5209C
triadic
#6B20A5 #A56B20 #20A56B
tetradic
#6B20A5 #A52920 #5AA520 #209CA5
square
#6B20A5 #A52920 #5AA520 #209CA5
split-complementary
#6B20A5 #9CA520 #20A529
monochromatic
#290C3E #4A1672 #6B20A5 #8C2CD6 #A85FE0

Accessibility & contrast

On white

8.84
#6B20A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6B20A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B20A5
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B20A5#FFFFFF#000000##FFFFFF
##6B20A51.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#004AA2
Tritanopia (blue-blind)
#604463
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6b20a5;
/* rgb */ color: rgb(107, 32, 165);
/* oklch */ color: oklch(43.5% 0.196 304.7);
Tailwind
colors: {
  custom: {
    50: '#9b65c1',
    500: '#6b20a5',
    950: '#000000',
  },
}
SCSS
$custom: #6b20a5;
$custom-light: #9b65c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b20a5",
  "rgb": {
    "r": 107,
    "g": 32,
    "b": 165
  },
  "hsl": {
    "h": 273.835,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43487,
    "c": 0.19635,
    "h": 304.7
  },
  "luminance": 0.06875
}

Semantic roles & 50–950 ramp

primary
#6B20A5
secondary
#8AC55C
accent
#EA3D89
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6B20A5

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

Preview Lab → · Contrast checker → · Palette generator →

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