#6931A8#6931A8

#6931A8 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.180 H 300.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#6931A8
RGBrgb(105, 49, 168)
HSLhsl(268, 55%, 43%)
HSVhsv(268, 71%, 66%)
CMYKcmyk(37.5%, 70.8%, 0%, 34.1%)
CIE-LABlab(34.04, 48.31, -54.35)
CIE-LCHlch(34.04, 72.72, 311.63°)
OKLaboklab(45.28% 0.0926 -0.1549)
OKLCHoklch(45.28% 0.181 300.9)
XYZxyz(13.9902, 8.0269, 37.8505)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6931A8 #70A831
analogous
#3135A8 #6931A8 #A431A8
triadic
#6931A8 #A86931 #31A869
tetradic
#6931A8 #A83135 #70A831 #31A8A4
square
#6931A8 #A83135 #70A831 #31A8A4
split-complementary
#6931A8 #A8A431 #35A831
monochromatic
#2E1549 #4B2379 #6931A8 #874CCB #A77BD8

Accessibility & contrast

On white

8.06
#6931A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6931A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6931A8#FFFFFF#000000##FFFFFF
##6931A81.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#004FA6
Tritanopia (blue-blind)
#5B4E69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6931a8;
/* rgb */ color: rgb(105, 49, 168);
/* oklch */ color: oklch(45.3% 0.180 300.9);
Tailwind
colors: {
  custom: {
    50: '#996ec3',
    500: '#6931a8',
    950: '#000000',
  },
}
SCSS
$custom: #6931a8;
$custom-light: #996ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#6931a8",
  "rgb": {
    "r": 105,
    "g": 49,
    "b": 168
  },
  "hsl": {
    "h": 268.235,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45278,
    "c": 0.1805,
    "h": 300.9
  },
  "luminance": 0.08027
}

Semantic roles & 50–950 ramp

primary
#6931A8
secondary
#9DC174
accent
#DE4A98
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6931A8

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

Preview Lab → · Contrast checker → · Palette generator →

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