#6720A0#6720A0

#6720A0 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.191 H 304.3°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#6720A0
RGBrgb(103, 32, 160)
HSLhsl(273, 67%, 38%)
HSVhsv(273, 80%, 63%)
CMYKcmyk(35.6%, 80%, 0%, 37.3%)
CIE-LABlab(30.53, 53.39, -55.25)
CIE-LCHlch(30.53, 76.83, 314.02°)
OKLaboklab(42.55% 0.1073 -0.1575)
OKLCHoklch(42.55% 0.191 304.3)
XYZxyz(12.4537, 6.4547, 33.8407)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6720A0 #59A020
analogous
#2720A0 #6720A0 #A02099
triadic
#6720A0 #A06720 #20A067
tetradic
#6720A0 #A02720 #59A020 #2099A0
square
#6720A0 #A02720 #59A020 #2099A0
split-complementary
#6720A0 #99A020 #20A027
monochromatic
#250C3A #46166D #6720A0 #882AD3 #A45CDE

Accessibility & contrast

On white

9.17
#6720A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6720A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6720A0
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6720A0#FFFFFF#000000##FFFFFF
##6720A01.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#00489E
Tritanopia (blue-blind)
#5C4260
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6720a0;
/* rgb */ color: rgb(103, 32, 160);
/* oklch */ color: oklch(42.5% 0.191 304.3);
Tailwind
colors: {
  custom: {
    50: '#9865bd',
    500: '#6720a0',
    950: '#000000',
  },
}
SCSS
$custom: #6720a0;
$custom-light: #9865bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6720a0",
  "rgb": {
    "r": 103,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 273.281,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42546,
    "c": 0.19059,
    "h": 304.3
  },
  "luminance": 0.06455
}

Semantic roles & 50–950 ramp

primary
#6720A0
secondary
#88C359
accent
#EA3E8B
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6720A0

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

Preview Lab → · Contrast checker → · Palette generator →

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