#6931AD#6931AD

#6931AD is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.186 H 299.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#6931AD
RGBrgb(105, 49, 173)
HSLhsl(267, 56%, 44%)
HSVhsv(267, 72%, 68%)
CMYKcmyk(39.3%, 71.7%, 0%, 32.2%)
CIE-LABlab(34.43, 49.58, -56.71)
CIE-LCHlch(34.43, 75.32, 311.16°)
OKLaboklab(45.68% 0.0917 -0.1618)
OKLCHoklch(45.68% 0.186 299.5)
XYZxyz(14.4649, 8.2169, 40.3510)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6931AD #75AD31
analogous
#3137AD #6931AD #A731AD
triadic
#6931AD #AD6931 #31AD69
tetradic
#6931AD #AD3137 #75AD31 #31ADA7
square
#6931AD #AD3137 #75AD31 #31ADA7
split-complementary
#6931AD #ADA731 #37AD31
monochromatic
#2F164E #4C237D #6931AD #874ECD #A87EDA

Accessibility & contrast

On white

7.94
#6931AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6931AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6931AD
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6931AD#FFFFFF#000000##FFFFFF
##6931AD1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B1
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#594F6C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6931ad;
/* rgb */ color: rgb(105, 49, 173);
/* oklch */ color: oklch(45.7% 0.186 299.5);
Tailwind
colors: {
  custom: {
    50: '#9a6ec6',
    500: '#6931ad',
    950: '#000000',
  },
}
SCSS
$custom: #6931ad;
$custom-light: #9a6ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#6931ad",
  "rgb": {
    "r": 105,
    "g": 49,
    "b": 173
  },
  "hsl": {
    "h": 267.097,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45679,
    "c": 0.18603,
    "h": 299.5
  },
  "luminance": 0.08217
}

Semantic roles & 50–950 ramp

primary
#6931AD
secondary
#A1C377
accent
#DF499B
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6931AD

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

Preview Lab → · Contrast checker → · Palette generator →

#6931AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva