#6720AC#6720AC

#6720AC is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.6% C 0.202 H 300.8°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#6720AC
RGBrgb(103, 32, 172)
HSLhsl(270, 69%, 40%)
HSVhsv(270, 81%, 67%)
CMYKcmyk(40.1%, 81.4%, 0%, 32.5%)
CIE-LABlab(31.57, 56.20, -60.80)
CIE-LCHlch(31.57, 82.79, 312.75°)
OKLaboklab(43.59% 0.1038 -0.1738)
OKLCHoklch(43.59% 0.202 300.8)
XYZxyz(13.5546, 6.8950, 39.6385)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6720AC #65AC20
analogous
#2120AC #6720AC #AC20AB
triadic
#6720AC #AC6720 #20AC67
tetradic
#6720AC #AC2120 #65AC20 #20ABAC
square
#6720AC #AC2120 #65AC20 #20ABAC
split-complementary
#6720AC #ABAC20 #20AC21
monochromatic
#290D45 #481678 #6720AC #8631D9 #A464E2

Accessibility & contrast

On white

8.83
#6720AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6720AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6720AC
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6720AC#FFFFFF#000000##FFFFFF
##6720AC1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB0
Deuteranopia (green-blind)
#0049A9
Tritanopia (blue-blind)
#574767
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6720ac;
/* rgb */ color: rgb(103, 32, 172);
/* oklch */ color: oklch(43.6% 0.202 300.8);
Tailwind
colors: {
  custom: {
    50: '#9965c6',
    500: '#6720ac',
    950: '#000000',
  },
}
SCSS
$custom: #6720ac;
$custom-light: #9965c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6720ac",
  "rgb": {
    "r": 103,
    "g": 32,
    "b": 172
  },
  "hsl": {
    "h": 270.429,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.43585,
    "c": 0.20244,
    "h": 300.8
  },
  "luminance": 0.06895
}

Semantic roles & 50–950 ramp

primary
#6720AC
secondary
#93C760
accent
#EB3C93
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #6720AC

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

Preview Lab → · Contrast checker → · Palette generator →

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