#6720A1#6720A1

#6720A1 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.6% C 0.192 H 304.0°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#6720A1
RGBrgb(103, 32, 161)
HSLhsl(273, 67%, 38%)
HSVhsv(273, 80%, 63%)
CMYKcmyk(36%, 80.1%, 0%, 36.9%)
CIE-LABlab(30.62, 53.62, -55.72)
CIE-LCHlch(30.62, 77.33, 313.90°)
OKLaboklab(42.63% 0.107 -0.1589)
OKLCHoklch(42.63% 0.192 304)
XYZxyz(12.5416, 6.4898, 34.3032)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6720A1 #5AA120
analogous
#2620A1 #6720A1 #A1209A
triadic
#6720A1 #A16720 #20A167
tetradic
#6720A1 #A12620 #5AA120 #209AA1
square
#6720A1 #A12620 #5AA120 #209AA1
split-complementary
#6720A1 #9AA120 #20A126
monochromatic
#260C3B #46166E #6720A1 #882AD4 #A45DDF

Accessibility & contrast

On white

9.14
#6720A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6720A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6720A1
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6720A1#FFFFFF#000000##FFFFFF
##6720A11.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#00489F
Tritanopia (blue-blind)
#5B4361
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6720a1;
/* rgb */ color: rgb(103, 32, 161);
/* oklch */ color: oklch(42.6% 0.192 304.0);
Tailwind
colors: {
  custom: {
    50: '#9865be',
    500: '#6720a1',
    950: '#000000',
  },
}
SCSS
$custom: #6720a1;
$custom-light: #9865be;
$custom-dark: #000000;
JSON
{
  "hex": "#6720a1",
  "rgb": {
    "r": 103,
    "g": 32,
    "b": 161
  },
  "hsl": {
    "h": 273.023,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42631,
    "c": 0.19158,
    "h": 304
  },
  "luminance": 0.0649
}

Semantic roles & 50–950 ramp

primary
#6720A1
secondary
#89C35A
accent
#EA3E8B
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6720A1

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

Preview Lab → · Contrast checker → · Palette generator →

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