#6720A5#6720A5

#6720A5 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 43.0% C 0.196 H 302.8°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#6720A5
RGBrgb(103, 32, 165)
HSLhsl(272, 68%, 39%)
HSVhsv(272, 81%, 65%)
CMYKcmyk(37.6%, 80.6%, 0%, 35.3%)
CIE-LABlab(30.96, 54.55, -57.58)
CIE-LCHlch(30.96, 79.32, 313.45°)
OKLaboklab(42.97% 0.1059 -0.1644)
OKLCHoklch(42.97% 0.196 302.8)
XYZxyz(12.8999, 6.6332, 36.1907)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6720A5 #5EA520
analogous
#2420A5 #6720A5 #A520A0
triadic
#6720A5 #A56720 #20A567
tetradic
#6720A5 #A52420 #5EA520 #20A0A5
square
#6720A5 #A52420 #5EA520 #20A0A5
split-complementary
#6720A5 #A0A520 #20A524
monochromatic
#270C3E #471672 #6720A5 #872CD6 #A45FE0

Accessibility & contrast

On white

9.03
#6720A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6720A5
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6720A5#FFFFFF#000000##FFFFFF
##6720A51.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#0048A2
Tritanopia (blue-blind)
#5A4463
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6720a5;
/* rgb */ color: rgb(103, 32, 165);
/* oklch */ color: oklch(43.0% 0.196 302.8);
Tailwind
colors: {
  custom: {
    50: '#9965c1',
    500: '#6720a5',
    950: '#000000',
  },
}
SCSS
$custom: #6720a5;
$custom-light: #9965c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6720a5",
  "rgb": {
    "r": 103,
    "g": 32,
    "b": 165
  },
  "hsl": {
    "h": 272.03,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42973,
    "c": 0.19553,
    "h": 302.8
  },
  "luminance": 0.06633
}

Semantic roles & 50–950 ramp

primary
#6720A5
secondary
#8DC55C
accent
#EA3D8E
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6720A5

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

Preview Lab → · Contrast checker → · Palette generator →

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