#6F20A5#6F20A5

#6F20A5 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 44.0% C 0.197 H 306.5°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#6F20A5
RGBrgb(111, 32, 165)
HSLhsl(276, 68%, 39%)
HSVhsv(276, 81%, 65%)
CMYKcmyk(32.7%, 80.6%, 0%, 35.3%)
CIE-LABlab(32.10, 55.86, -55.67)
CIE-LCHlch(32.10, 78.86, 315.10°)
OKLaboklab(44.01% 0.1175 -0.1585)
OKLCHoklch(44.01% 0.197 306.5)
XYZxyz(13.8621, 7.1293, 36.2358)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F20A5 #56A520
analogous
#2C20A5 #6F20A5 #A52098
triadic
#6F20A5 #A56F20 #20A56F
tetradic
#6F20A5 #A52C20 #56A520 #2098A5
square
#6F20A5 #A52C20 #56A520 #2098A5
split-complementary
#6F20A5 #98A520 #20A52C
monochromatic
#2A0C3E #4D1672 #6F20A5 #912CD6 #AC5FE0

Accessibility & contrast

On white

8.66
#6F20A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6F20A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F20A5
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F20A5#FFFFFF#000000##FFFFFF
##6F20A51.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f20a5;
/* rgb */ color: rgb(111, 32, 165);
/* oklch */ color: oklch(44.0% 0.197 306.5);
Tailwind
colors: {
  custom: {
    50: '#9e66c1',
    500: '#6f20a5',
    950: '#000000',
  },
}
SCSS
$custom: #6f20a5;
$custom-light: #9e66c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f20a5",
  "rgb": {
    "r": 111,
    "g": 32,
    "b": 165
  },
  "hsl": {
    "h": 275.639,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4401,
    "c": 0.19726,
    "h": 306.5
  },
  "luminance": 0.07129
}

Semantic roles & 50–950 ramp

primary
#6F20A5
secondary
#87C55C
accent
#EA3D84
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F20A5

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

Preview Lab → · Contrast checker → · Palette generator →

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