#6721BA#6721BA

#6721BA is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.9% C 0.215 H 297.2°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#6721BA
RGBrgb(103, 33, 186)
HSLhsl(267, 70%, 43%)
HSVhsv(267, 82%, 73%)
CMYKcmyk(44.6%, 82.3%, 0%, 27.1%)
CIE-LABlab(32.95, 59.18, -66.86)
CIE-LCHlch(32.95, 89.29, 311.51°)
OKLaboklab(44.93% 0.0985 -0.1916)
OKLCHoklch(44.93% 0.215 297.2)
XYZxyz(14.9980, 7.5161, 47.1054)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6721BA #74BA21
analogous
#2127BA #6721BA #B321BA
triadic
#6721BA #BA6721 #21BA67
tetradic
#6721BA #BA2127 #74BA21 #21BAB3
square
#6721BA #BA2127 #74BA21 #21BAB3
split-complementary
#6721BA #BAB321 #27BA21
monochromatic
#2D0F52 #4A1886 #6721BA #853CDC #A670E6

Accessibility & contrast

On white

8.39
#6721BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6721BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6721BA
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6721BA#FFFFFF#000000##FFFFFF
##6721BA1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBE
Deuteranopia (green-blind)
#004CB7
Tritanopia (blue-blind)
#514E6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6721ba;
/* rgb */ color: rgb(103, 33, 186);
/* oklch */ color: oklch(44.9% 0.215 297.2);
Tailwind
colors: {
  custom: {
    50: '#9b67d0',
    500: '#6721ba',
    950: '#000000',
  },
}
SCSS
$custom: #6721ba;
$custom-light: #9b67d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6721ba",
  "rgb": {
    "r": 103,
    "g": 33,
    "b": 186
  },
  "hsl": {
    "h": 267.451,
    "s": 69.863,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44932,
    "c": 0.21545,
    "h": 297.2
  },
  "luminance": 0.07516
}

Semantic roles & 50–950 ramp

primary
#6721BA
secondary
#A0CC6B
accent
#ED3B9B
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0614
muted
#7F7A82

Preview Lab

Preview with #6721BA

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

Preview Lab → · Contrast checker → · Palette generator →

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