#6F20AC#6F20AC

#6F20AC is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.6% C 0.204 H 304.5°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#6F20AC
RGBrgb(111, 32, 172)
HSLhsl(274, 69%, 40%)
HSVhsv(274, 81%, 67%)
CMYKcmyk(35.5%, 81.4%, 0%, 32.5%)
CIE-LABlab(32.68, 57.44, -58.93)
CIE-LCHlch(32.68, 82.29, 314.26°)
OKLaboklab(44.6% 0.1155 -0.168)
OKLCHoklch(44.6% 0.204 304.5)
XYZxyz(14.5167, 7.3911, 39.6836)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F20AC #5DAC20
analogous
#2920AC #6F20AC #AC20A3
triadic
#6F20AC #AC6F20 #20AC6F
tetradic
#6F20AC #AC2920 #5DAC20 #20A3AC
square
#6F20AC #AC2920 #5DAC20 #20A3AC
split-complementary
#6F20AC #A3AC20 #20AC29
monochromatic
#2C0D45 #4E1678 #6F20AC #8F31D9 #AB64E2

Accessibility & contrast

On white

8.47
#6F20AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6F20AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F20AC
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F20AC#FFFFFF#000000##FFFFFF
##6F20AC1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#004DA9
Tritanopia (blue-blind)
#634667
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6f20ac;
/* rgb */ color: rgb(111, 32, 172);
/* oklch */ color: oklch(44.6% 0.204 304.5);
Tailwind
colors: {
  custom: {
    50: '#9e66c6',
    500: '#6f20ac',
    950: '#000000',
  },
}
SCSS
$custom: #6f20ac;
$custom-light: #9e66c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f20ac",
  "rgb": {
    "r": 111,
    "g": 32,
    "b": 172
  },
  "hsl": {
    "h": 273.857,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.44596,
    "c": 0.20393,
    "h": 304.5
  },
  "luminance": 0.07391
}

Semantic roles & 50–950 ramp

primary
#6F20AC
secondary
#8DC760
accent
#EB3C89
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6F20AC

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

Preview Lab → · Contrast checker → · Palette generator →

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