#6931AC#6931AC

#6931AC is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.185 H 299.8°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#6931AC
RGBrgb(105, 49, 172)
HSLhsl(267, 56%, 43%)
HSVhsv(267, 72%, 67%)
CMYKcmyk(39%, 71.5%, 0%, 32.5%)
CIE-LABlab(34.35, 49.32, -56.24)
CIE-LCHlch(34.35, 74.80, 311.25°)
OKLaboklab(45.6% 0.0919 -0.1605)
OKLCHoklch(45.6% 0.185 299.8)
XYZxyz(14.3685, 8.1783, 39.8433)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6931AC #74AC31
analogous
#3136AC #6931AC #A631AC
triadic
#6931AC #AC6931 #31AC69
tetradic
#6931AC #AC3136 #74AC31 #31ACA6
square
#6931AC #AC3136 #74AC31 #31ACA6
split-complementary
#6931AC #ACA631 #36AC31
monochromatic
#2F164D #4C237C #6931AC #874ECC #A87DDA

Accessibility & contrast

On white

7.97
#6931AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##6931AC#FFFFFF#000000##FFFFFF
##6931AC1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#5A4F6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6931ac;
/* rgb */ color: rgb(105, 49, 172);
/* oklch */ color: oklch(45.6% 0.185 299.8);
Tailwind
colors: {
  custom: {
    50: '#9a6ec6',
    500: '#6931ac',
    950: '#000000',
  },
}
SCSS
$custom: #6931ac;
$custom-light: #9a6ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#6931ac",
  "rgb": {
    "r": 105,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 267.317,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45598,
    "c": 0.18492,
    "h": 299.8
  },
  "luminance": 0.08178
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6931AC

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

Preview Lab → · Contrast checker → · Palette generator →

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