#6D20A5#6D20A5

#6D20A5 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.7% C 0.197 H 305.6°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#6D20A5
RGBrgb(109, 32, 165)
HSLhsl(275, 68%, 39%)
HSVhsv(275, 81%, 65%)
CMYKcmyk(33.9%, 80.6%, 0%, 35.3%)
CIE-LABlab(31.81, 55.53, -56.15)
CIE-LCHlch(31.81, 78.97, 314.68°)
OKLaboklab(43.75% 0.1146 -0.16)
OKLCHoklch(43.75% 0.197 305.6)
XYZxyz(13.6132, 7.0010, 36.2242)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D20A5 #58A520
analogous
#2A20A5 #6D20A5 #A5209A
triadic
#6D20A5 #A56D20 #20A56D
tetradic
#6D20A5 #A52A20 #58A520 #209AA5
square
#6D20A5 #A52A20 #58A520 #209AA5
split-complementary
#6D20A5 #9AA520 #20A52A
monochromatic
#290C3E #4B1672 #6D20A5 #8F2CD6 #AA5FE0

Accessibility & contrast

On white

8.75
#6D20A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6D20A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D20A5
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D20A5#FFFFFF#000000##FFFFFF
##6D20A51.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A9
Deuteranopia (green-blind)
#004BA2
Tritanopia (blue-blind)
#634463
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6d20a5;
/* rgb */ color: rgb(109, 32, 165);
/* oklch */ color: oklch(43.7% 0.197 305.6);
Tailwind
colors: {
  custom: {
    50: '#9d66c1',
    500: '#6d20a5',
    950: '#000000',
  },
}
SCSS
$custom: #6d20a5;
$custom-light: #9d66c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d20a5",
  "rgb": {
    "r": 109,
    "g": 32,
    "b": 165
  },
  "hsl": {
    "h": 274.737,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43747,
    "c": 0.19679,
    "h": 305.6
  },
  "luminance": 0.07001
}

Semantic roles & 50–950 ramp

primary
#6D20A5
secondary
#88C55C
accent
#EA3D86
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D20A5

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

Preview Lab → · Contrast checker → · Palette generator →

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