#6921B0#6921B0

#6921B0 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.3% C 0.206 H 300.6°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#6921B0
RGBrgb(105, 33, 176)
HSLhsl(270, 68%, 41%)
HSVhsv(270, 81%, 69%)
CMYKcmyk(40.3%, 81.3%, 0%, 31%)
CIE-LABlab(32.31, 57.08, -61.95)
CIE-LCHlch(32.31, 84.24, 312.66°)
OKLaboklab(44.27% 0.1048 -0.1771)
OKLCHoklch(44.27% 0.206 300.6)
XYZxyz(14.2041, 7.2254, 41.7122)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6921B0 #68B021
analogous
#2221B0 #6921B0 #B021AF
triadic
#6921B0 #B06921 #21B069
tetradic
#6921B0 #B02221 #68B021 #21AFB0
square
#6921B0 #B02221 #68B021 #21AFB0
split-complementary
#6921B0 #AFB021 #21B022
monochromatic
#2C0E49 #4A177C #6921B0 #8835D9 #A669E3

Accessibility & contrast

On white

8.59
#6921B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6921B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6921B0#FFFFFF#000000##FFFFFF
##6921B01.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB4
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#58496A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6921b0;
/* rgb */ color: rgb(105, 33, 176);
/* oklch */ color: oklch(44.3% 0.206 300.6);
Tailwind
colors: {
  custom: {
    50: '#9b66c9',
    500: '#6921b0',
    950: '#000000',
  },
}
SCSS
$custom: #6921b0;
$custom-light: #9b66c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6921b0",
  "rgb": {
    "r": 105,
    "g": 33,
    "b": 176
  },
  "hsl": {
    "h": 270.21,
    "s": 68.421,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44271,
    "c": 0.20582,
    "h": 300.6
  },
  "luminance": 0.07226
}

Semantic roles & 50–950 ramp

primary
#6921B0
secondary
#96C864
accent
#EB3D93
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6921B0

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

Preview Lab → · Contrast checker → · Palette generator →

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