#6720A7#6720A7

#6720A7 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.1% C 0.198 H 302.2°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#6720A7
RGBrgb(103, 32, 167)
HSLhsl(272, 68%, 39%)
HSVhsv(272, 81%, 65%)
CMYKcmyk(38.3%, 80.8%, 0%, 34.5%)
CIE-LABlab(31.13, 55.02, -58.50)
CIE-LCHlch(31.13, 80.31, 313.24°)
OKLaboklab(43.15% 0.1053 -0.1671)
OKLCHoklch(43.15% 0.198 302.2)
XYZxyz(13.0834, 6.7066, 37.1569)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6720A7 #60A720
analogous
#2420A7 #6720A7 #A720A4
triadic
#6720A7 #A76720 #20A767
tetradic
#6720A7 #A72420 #60A720 #20A4A7
square
#6720A7 #A72420 #60A720 #20A4A7
split-complementary
#6720A7 #A4A720 #20A724
monochromatic
#280C40 #471674 #6720A7 #862DD7 #A461E1

Accessibility & contrast

On white

8.97
#6720A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6720A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6720A7
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6720A7#FFFFFF#000000##FFFFFF
##6720A71.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#0049A4
Tritanopia (blue-blind)
#594564
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6720a7;
/* rgb */ color: rgb(103, 32, 167);
/* oklch */ color: oklch(43.1% 0.198 302.2);
Tailwind
colors: {
  custom: {
    50: '#9965c2',
    500: '#6720a7',
    950: '#000000',
  },
}
SCSS
$custom: #6720a7;
$custom-light: #9965c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6720a7",
  "rgb": {
    "r": 103,
    "g": 32,
    "b": 167
  },
  "hsl": {
    "h": 271.556,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43147,
    "c": 0.1975,
    "h": 302.2
  },
  "luminance": 0.06707
}

Semantic roles & 50–950 ramp

primary
#6720A7
secondary
#8FC55D
accent
#EB3D8F
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6720A7

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

Preview Lab → · Contrast checker → · Palette generator →

#6720A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva