#6931B1#6931B1

#6931B1 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.0% C 0.190 H 298.5°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#6931B1
RGBrgb(105, 49, 177)
HSLhsl(266, 57%, 44%)
HSVhsv(266, 72%, 69%)
CMYKcmyk(40.7%, 72.3%, 0%, 30.6%)
CIE-LABlab(34.75, 50.60, -58.57)
CIE-LCHlch(34.75, 77.40, 310.82°)
OKLaboklab(46.01% 0.0909 -0.1673)
OKLCHoklch(46.01% 0.19 298.5)
XYZxyz(14.8578, 8.3740, 42.4200)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6931B1 #79B131
analogous
#3139B1 #6931B1 #A931B1
triadic
#6931B1 #B16931 #31B169
tetradic
#6931B1 #B13139 #79B131 #31B1A9
square
#6931B1 #B13139 #79B131 #31B1A9
split-complementary
#6931B1 #B1A931 #39B131
monochromatic
#301651 #4D2481 #6931B1 #8851CF #A880DC

Accessibility & contrast

On white

7.85
#6931B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6931B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6931B1
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6931B1#FFFFFF#000000##FFFFFF
##6931B11.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0050AE
Tritanopia (blue-blind)
#57516E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6931b1;
/* rgb */ color: rgb(105, 49, 177);
/* oklch */ color: oklch(46.0% 0.190 298.5);
Tailwind
colors: {
  custom: {
    50: '#9a6ec9',
    500: '#6931b1',
    950: '#000000',
  },
}
SCSS
$custom: #6931b1;
$custom-light: #9a6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#6931b1",
  "rgb": {
    "r": 105,
    "g": 49,
    "b": 177
  },
  "hsl": {
    "h": 266.25,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46005,
    "c": 0.19044,
    "h": 298.5
  },
  "luminance": 0.08374
}

Semantic roles & 50–950 ramp

primary
#6931B1
secondary
#A4C579
accent
#E0489D
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6931B1

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

Preview Lab → · Contrast checker → · Palette generator →

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