#6931A2#6931A2

#6931A2 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.8% C 0.174 H 302.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#6931A2
RGBrgb(105, 49, 162)
HSLhsl(270, 54%, 41%)
HSVhsv(270, 70%, 64%)
CMYKcmyk(35.2%, 69.8%, 0%, 36.5%)
CIE-LABlab(33.58, 46.81, -51.49)
CIE-LCHlch(33.58, 69.58, 312.27°)
OKLaboklab(44.81% 0.0936 -0.1465)
OKLCHoklch(44.81% 0.174 302.6)
XYZxyz(13.4441, 7.8085, 34.9743)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6931A2 #6AA231
analogous
#3131A2 #6931A2 #A231A2
triadic
#6931A2 #A26931 #31A269
tetradic
#6931A2 #A23131 #6AA231 #31A2A2
square
#6931A2 #A23131 #6AA231 #31A2A2
split-complementary
#6931A2 #A2A231 #31A231
monochromatic
#2C1544 #4B2373 #6931A2 #8848C8 #A677D6

Accessibility & contrast

On white

8.20
#6931A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6931A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6931A2#FFFFFF#000000##FFFFFF
##6931A21.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#5D4B66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6931a2;
/* rgb */ color: rgb(105, 49, 162);
/* oklch */ color: oklch(44.8% 0.174 302.6);
Tailwind
colors: {
  custom: {
    50: '#996ebe',
    500: '#6931a2',
    950: '#000000',
  },
}
SCSS
$custom: #6931a2;
$custom-light: #996ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#6931a2",
  "rgb": {
    "r": 105,
    "g": 49,
    "b": 162
  },
  "hsl": {
    "h": 269.735,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44807,
    "c": 0.17383,
    "h": 302.6
  },
  "luminance": 0.07809
}

Semantic roles & 50–950 ramp

primary
#6931A2
secondary
#98BE71
accent
#DD4B95
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6931A2

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

Preview Lab → · Contrast checker → · Palette generator →

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