#6B20A3#6B20A3

#6B20A3 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.3% C 0.194 H 305.3°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#6B20A3
RGBrgb(107, 32, 163)
HSLhsl(274, 67%, 38%)
HSVhsv(274, 80%, 64%)
CMYKcmyk(34.4%, 80.4%, 0%, 36.1%)
CIE-LABlab(31.35, 54.74, -55.70)
CIE-LCHlch(31.35, 78.10, 314.50°)
OKLaboklab(43.32% 0.1123 -0.1587)
OKLCHoklch(43.32% 0.194 305.3)
XYZxyz(13.1893, 6.8033, 35.2616)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B20A3 #58A320
analogous
#2920A3 #6B20A3 #A32099
triadic
#6B20A3 #A36B20 #20A36B
tetradic
#6B20A3 #A32920 #58A320 #2099A3
square
#6B20A3 #A32920 #58A320 #2099A3
split-complementary
#6B20A3 #99A320 #20A329
monochromatic
#280C3D #491670 #6B20A3 #8C2BD5 #A85EDF

Accessibility & contrast

On white

8.90
#6B20A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6B20A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B20A3
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B20A3#FFFFFF#000000##FFFFFF
##6B20A31.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A7
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#604362
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6b20a3;
/* rgb */ color: rgb(107, 32, 163);
/* oklch */ color: oklch(43.3% 0.194 305.3);
Tailwind
colors: {
  custom: {
    50: '#9b65bf',
    500: '#6b20a3',
    950: '#000000',
  },
}
SCSS
$custom: #6b20a3;
$custom-light: #9b65bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6b20a3",
  "rgb": {
    "r": 107,
    "g": 32,
    "b": 163
  },
  "hsl": {
    "h": 274.351,
    "s": 67.179,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43318,
    "c": 0.19441,
    "h": 305.3
  },
  "luminance": 0.06803
}

Semantic roles & 50–950 ramp

primary
#6B20A3
secondary
#88C45B
accent
#EA3E87
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6B20A3

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

Preview Lab → · Contrast checker → · Palette generator →

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