#6921AA#6921AA

#6921AA is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.7% C 0.200 H 302.2°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#6921AA
RGBrgb(105, 33, 170)
HSLhsl(272, 67%, 40%)
HSVhsv(272, 81%, 67%)
CMYKcmyk(38.2%, 80.6%, 0%, 33.3%)
CIE-LABlab(31.79, 55.67, -59.22)
CIE-LCHlch(31.79, 81.28, 313.23°)
OKLaboklab(43.75% 0.1066 -0.1691)
OKLCHoklch(43.75% 0.2 302.2)
XYZxyz(13.6235, 6.9932, 38.6545)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6921AA #62AA21
analogous
#2521AA #6921AA #AA21A7
triadic
#6921AA #AA6921 #21AA69
tetradic
#6921AA #AA2521 #62AA21 #21A7AA
square
#6921AA #AA2521 #62AA21 #21A7AA
split-complementary
#6921AA #A7AA21 #21AA25
monochromatic
#2A0D43 #491777 #6921AA #8831D7 #A664E1

Accessibility & contrast

On white

8.76
#6921AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6921AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6921AA
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6921AA#FFFFFF#000000##FFFFFF
##6921AA1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#5B4766
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6921aa;
/* rgb */ color: rgb(105, 33, 170);
/* oklch */ color: oklch(43.7% 0.200 302.2);
Tailwind
colors: {
  custom: {
    50: '#9a66c4',
    500: '#6921aa',
    950: '#000000',
  },
}
SCSS
$custom: #6921aa;
$custom-light: #9a66c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6921aa",
  "rgb": {
    "r": 105,
    "g": 33,
    "b": 170
  },
  "hsl": {
    "h": 271.533,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43746,
    "c": 0.19991,
    "h": 302.2
  },
  "luminance": 0.06993
}

Semantic roles & 50–950 ramp

primary
#6921AA
secondary
#91C661
accent
#EA3D8F
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6921AA

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

Preview Lab → · Contrast checker → · Palette generator →

#6921AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva