#6931AF#6931AF

#6931AF is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.188 H 299.0°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#6931AF
RGBrgb(105, 49, 175)
HSLhsl(267, 56%, 44%)
HSVhsv(267, 72%, 69%)
CMYKcmyk(40%, 72%, 0%, 31.4%)
CIE-LABlab(34.59, 50.09, -57.64)
CIE-LCHlch(34.59, 76.36, 310.99°)
OKLaboklab(45.84% 0.0913 -0.1646)
OKLCHoklch(45.84% 0.188 299)
XYZxyz(14.6599, 8.2948, 41.3778)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6931AF #77AF31
analogous
#3138AF #6931AF #A831AF
triadic
#6931AF #AF6931 #31AF69
tetradic
#6931AF #AF3138 #77AF31 #31AFA8
square
#6931AF #AF3138 #77AF31 #31AFA8
split-complementary
#6931AF #AFA831 #38AF31
monochromatic
#30164F #4C247F #6931AF #884FCE #A87FDB

Accessibility & contrast

On white

7.90
#6931AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6931AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6931AF#FFFFFF#000000##FFFFFF
##6931AF1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#58506D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6931af;
/* rgb */ color: rgb(105, 49, 175);
/* oklch */ color: oklch(45.8% 0.188 299.0);
Tailwind
colors: {
  custom: {
    50: '#9a6ec8',
    500: '#6931af',
    950: '#000000',
  },
}
SCSS
$custom: #6931af;
$custom-light: #9a6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#6931af",
  "rgb": {
    "r": 105,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 266.667,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45841,
    "c": 0.18824,
    "h": 299
  },
  "luminance": 0.08295
}

Semantic roles & 50–950 ramp

primary
#6931AF
secondary
#A2C478
accent
#E0489C
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6931AF

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

Preview Lab → · Contrast checker → · Palette generator →

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