#6720A8#6720A8

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

Color values

HEX#6720A8
RGBrgb(103, 32, 168)
HSLhsl(271, 68%, 39%)
HSVhsv(271, 81%, 66%)
CMYKcmyk(38.7%, 81%, 0%, 34.1%)
CIE-LABlab(31.22, 55.26, -58.97)
CIE-LCHlch(31.22, 80.81, 313.14°)
OKLaboklab(43.23% 0.105 -0.1684)
OKLCHoklch(43.23% 0.198 301.9)
XYZxyz(13.1762, 6.7437, 37.6457)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6720A8 #61A820
analogous
#2320A8 #6720A8 #A820A5
triadic
#6720A8 #A86720 #20A867
tetradic
#6720A8 #A82320 #61A820 #20A5A8
square
#6720A8 #A82320 #61A820 #20A5A8
split-complementary
#6720A8 #A5A820 #20A823
monochromatic
#280C41 #471675 #6720A8 #862ED7 #A461E1

Accessibility & contrast

On white

8.94
#6720A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6720A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6720A8
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6720A8#FFFFFF#000000##FFFFFF
##6720A81.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#0049A5
Tritanopia (blue-blind)
#594665
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6720a8;
/* rgb */ color: rgb(103, 32, 168);
/* oklch */ color: oklch(43.2% 0.198 301.9);
Tailwind
colors: {
  custom: {
    50: '#9965c3',
    500: '#6720a8',
    950: '#000000',
  },
}
SCSS
$custom: #6720a8;
$custom-light: #9965c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6720a8",
  "rgb": {
    "r": 103,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 271.324,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43234,
    "c": 0.19849,
    "h": 301.9
  },
  "luminance": 0.06744
}

Semantic roles & 50–950 ramp

primary
#6720A8
secondary
#90C65E
accent
#EB3D90
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #6720A8

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

Preview Lab → · Contrast checker → · Palette generator →

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