#6720A6#6720A6

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

Color values

HEX#6720A6
RGBrgb(103, 32, 166)
HSLhsl(272, 68%, 39%)
HSVhsv(272, 81%, 65%)
CMYKcmyk(38%, 80.7%, 0%, 34.9%)
CIE-LABlab(31.04, 54.79, -58.04)
CIE-LCHlch(31.04, 79.82, 313.35°)
OKLaboklab(43.06% 0.1056 -0.1657)
OKLCHoklch(43.06% 0.197 302.5)
XYZxyz(12.9913, 6.6697, 36.6720)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6720A6 #5FA620
analogous
#2420A6 #6720A6 #A620A2
triadic
#6720A6 #A66720 #20A667
tetradic
#6720A6 #A62420 #5FA620 #20A2A6
square
#6720A6 #A62420 #5FA620 #20A2A6
split-complementary
#6720A6 #A2A620 #20A624
monochromatic
#270C3F #471673 #6720A6 #872DD6 #A460E0

Accessibility & contrast

On white

9.00
#6720A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6720A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6720A6
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6720A6#FFFFFF#000000##FFFFFF
##6720A61.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6720a6;
/* rgb */ color: rgb(103, 32, 166);
/* oklch */ color: oklch(43.1% 0.197 302.5);
Tailwind
colors: {
  custom: {
    50: '#9965c1',
    500: '#6720a6',
    950: '#000000',
  },
}
SCSS
$custom: #6720a6;
$custom-light: #9965c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6720a6",
  "rgb": {
    "r": 103,
    "g": 32,
    "b": 166
  },
  "hsl": {
    "h": 271.791,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4306,
    "c": 0.19651,
    "h": 302.5
  },
  "luminance": 0.0667
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6720A6

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

Preview Lab → · Contrast checker → · Palette generator →

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