#6931AA#6931AA

#6931AA is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.183 H 300.3°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#6931AA
RGBrgb(105, 49, 170)
HSLhsl(268, 55%, 43%)
HSVhsv(268, 71%, 67%)
CMYKcmyk(38.2%, 71.2%, 0%, 33.3%)
CIE-LABlab(34.19, 48.82, -55.30)
CIE-LCHlch(34.19, 73.76, 311.44°)
OKLaboklab(45.44% 0.0923 -0.1577)
OKLCHoklch(45.44% 0.183 300.3)
XYZxyz(14.1779, 8.1020, 38.8393)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6931AA #72AA31
analogous
#3135AA #6931AA #A531AA
triadic
#6931AA #AA6931 #31AA69
tetradic
#6931AA #AA3135 #72AA31 #31AAA5
square
#6931AA #AA3135 #72AA31 #31AAA5
split-complementary
#6931AA #AAA531 #35AA31
monochromatic
#2E164B #4C237A #6931AA #874DCC #A77CD9

Accessibility & contrast

On white

8.01
#6931AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6931AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6931AA#FFFFFF#000000##FFFFFF
##6931AA1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#0050A8
Tritanopia (blue-blind)
#5A4E6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6931aa;
/* rgb */ color: rgb(105, 49, 170);
/* oklch */ color: oklch(45.4% 0.183 300.3);
Tailwind
colors: {
  custom: {
    50: '#996ec4',
    500: '#6931aa',
    950: '#000000',
  },
}
SCSS
$custom: #6931aa;
$custom-light: #996ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#6931aa",
  "rgb": {
    "r": 105,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 267.769,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45437,
    "c": 0.18271,
    "h": 300.3
  },
  "luminance": 0.08102
}

Semantic roles & 50–950 ramp

primary
#6931AA
secondary
#9EC275
accent
#DF4999
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6931AA

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

Preview Lab → · Contrast checker → · Palette generator →

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