#6931A5#6931A5

#6931A5 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.0% C 0.177 H 301.7°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#6931A5
RGBrgb(105, 49, 165)
HSLhsl(269, 54%, 42%)
HSVhsv(269, 70%, 65%)
CMYKcmyk(36.4%, 70.3%, 0%, 35.3%)
CIE-LABlab(33.81, 47.56, -52.92)
CIE-LCHlch(33.81, 71.15, 311.94°)
OKLaboklab(45.04% 0.0931 -0.1507)
OKLCHoklch(45.04% 0.177 301.7)
XYZxyz(13.7139, 7.9164, 36.3955)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6931A5 #6DA531
analogous
#3133A5 #6931A5 #A331A5
triadic
#6931A5 #A56931 #31A569
tetradic
#6931A5 #A53133 #6DA531 #31A5A3
square
#6931A5 #A53133 #6DA531 #31A5A3
split-complementary
#6931A5 #A5A331 #33A531
monochromatic
#2D1547 #4B2376 #6931A5 #874AC9 #A779D7

Accessibility & contrast

On white

8.13
#6931A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6931A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6931A5#FFFFFF#000000##FFFFFF
##6931A51.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#004FA3
Tritanopia (blue-blind)
#5C4C67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6931a5;
/* rgb */ color: rgb(105, 49, 165);
/* oklch */ color: oklch(45.0% 0.177 301.7);
Tailwind
colors: {
  custom: {
    50: '#996ec0',
    500: '#6931a5',
    950: '#000000',
  },
}
SCSS
$custom: #6931a5;
$custom-light: #996ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#6931a5",
  "rgb": {
    "r": 105,
    "g": 49,
    "b": 165
  },
  "hsl": {
    "h": 268.966,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45041,
    "c": 0.17717,
    "h": 301.7
  },
  "luminance": 0.07916
}

Semantic roles & 50–950 ramp

primary
#6931A5
secondary
#9AC072
accent
#DE4A96
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6931A5

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

Preview Lab → · Contrast checker → · Palette generator →

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