#6D20A3#6D20A3

#6D20A3 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.6% C 0.195 H 306.2°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#6D20A3
RGBrgb(109, 32, 163)
HSLhsl(275, 67%, 38%)
HSVhsv(275, 80%, 64%)
CMYKcmyk(33.1%, 80.4%, 0%, 36.1%)
CIE-LABlab(31.64, 55.08, -55.21)
CIE-LCHlch(31.64, 77.99, 314.93°)
OKLaboklab(43.58% 0.1152 -0.1572)
OKLCHoklch(43.58% 0.195 306.2)
XYZxyz(13.4326, 6.9287, 35.2730)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D20A3 #56A320
analogous
#2B20A3 #6D20A3 #A32097
triadic
#6D20A3 #A36D20 #20A36D
tetradic
#6D20A3 #A32B20 #56A320 #2097A3
square
#6D20A3 #A32B20 #56A320 #2097A3
split-complementary
#6D20A3 #97A320 #20A32B
monochromatic
#290C3D #4B1670 #6D20A3 #8F2BD5 #AA5EDF

Accessibility & contrast

On white

8.80
#6D20A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6D20A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D20A3
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D20A3#FFFFFF#000000##FFFFFF
##6D20A31.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d20a3;
/* rgb */ color: rgb(109, 32, 163);
/* oklch */ color: oklch(43.6% 0.195 306.2);
Tailwind
colors: {
  custom: {
    50: '#9c66bf',
    500: '#6d20a3',
    950: '#000000',
  },
}
SCSS
$custom: #6d20a3;
$custom-light: #9c66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6d20a3",
  "rgb": {
    "r": 109,
    "g": 32,
    "b": 163
  },
  "hsl": {
    "h": 275.267,
    "s": 67.179,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43581,
    "c": 0.19487,
    "h": 306.2
  },
  "luminance": 0.06929
}

Semantic roles & 50–950 ramp

primary
#6D20A3
secondary
#86C45B
accent
#EA3E85
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D20A3

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

Preview Lab → · Contrast checker → · Palette generator →

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