#6921AC#6921AC

#6921AC is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.9% C 0.202 H 301.7°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#6921AC
RGBrgb(105, 33, 172)
HSLhsl(271, 68%, 40%)
HSVhsv(271, 81%, 67%)
CMYKcmyk(39%, 80.8%, 0%, 32.5%)
CIE-LABlab(31.96, 56.14, -60.13)
CIE-LCHlch(31.96, 82.27, 313.03°)
OKLaboklab(43.92% 0.106 -0.1718)
OKLCHoklch(43.92% 0.202 301.7)
XYZxyz(13.8141, 7.0695, 39.6585)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6921AC #64AC21
analogous
#2321AC #6921AC #AC21AA
triadic
#6921AC #AC6921 #21AC69
tetradic
#6921AC #AC2321 #64AC21 #21AAAC
square
#6921AC #AC2321 #64AC21 #21AAAC
split-complementary
#6921AC #AAAC21 #21AC23
monochromatic
#2A0D45 #4A1779 #6921AC #8832D8 #A666E2

Accessibility & contrast

On white

8.70
#6921AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6921AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6921AC#FFFFFF#000000##FFFFFF
##6921AC1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6921ac;
/* rgb */ color: rgb(105, 33, 172);
/* oklch */ color: oklch(43.9% 0.202 301.7);
Tailwind
colors: {
  custom: {
    50: '#9b66c6',
    500: '#6921ac',
    950: '#000000',
  },
}
SCSS
$custom: #6921ac;
$custom-light: #9b66c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6921ac",
  "rgb": {
    "r": 105,
    "g": 33,
    "b": 172
  },
  "hsl": {
    "h": 271.079,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4392,
    "c": 0.20188,
    "h": 301.7
  },
  "luminance": 0.0707
}

Semantic roles & 50–950 ramp

primary
#6921AC
secondary
#93C762
accent
#EB3D91
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6921AC

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

Preview Lab → · Contrast checker → · Palette generator →

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