#6721AC#6721AC

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

Color values

HEX#6721AC
RGBrgb(103, 33, 172)
HSLhsl(270, 68%, 40%)
HSVhsv(270, 81%, 67%)
CMYKcmyk(40.1%, 80.8%, 0%, 32.5%)
CIE-LABlab(31.69, 55.83, -60.59)
CIE-LCHlch(31.69, 82.39, 312.66°)
OKLaboklab(43.67% 0.1031 -0.1732)
OKLCHoklch(43.67% 0.202 300.8)
XYZxyz(13.5819, 6.9497, 39.6476)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6721AC #66AC21
analogous
#2221AC #6721AC #AC21AB
triadic
#6721AC #AC6721 #21AC67
tetradic
#6721AC #AC2221 #66AC21 #21ABAC
square
#6721AC #AC2221 #66AC21 #21ABAC
split-complementary
#6721AC #ABAC21 #21AC22
monochromatic
#2A0D45 #481779 #6721AC #8632D8 #A466E2

Accessibility & contrast

On white

8.79
#6721AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6721AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6721AC
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6721AC#FFFFFF#000000##FFFFFF
##6721AC1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB0
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#574867
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6721ac;
/* rgb */ color: rgb(103, 33, 172);
/* oklch */ color: oklch(43.7% 0.202 300.8);
Tailwind
colors: {
  custom: {
    50: '#9966c6',
    500: '#6721ac',
    950: '#000000',
  },
}
SCSS
$custom: #6721ac;
$custom-light: #9966c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6721ac",
  "rgb": {
    "r": 103,
    "g": 33,
    "b": 172
  },
  "hsl": {
    "h": 270.216,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43672,
    "c": 0.20155,
    "h": 300.8
  },
  "luminance": 0.0695
}

Semantic roles & 50–950 ramp

primary
#6721AC
secondary
#94C762
accent
#EB3D93
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #6721AC

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

Preview Lab → · Contrast checker → · Palette generator →

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