#6931B3#6931B3

#6931B3 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.2% C 0.193 H 298.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#6931B3
RGBrgb(105, 49, 179)
HSLhsl(266, 57%, 45%)
HSVhsv(266, 73%, 70%)
CMYKcmyk(41.3%, 72.6%, 0%, 29.8%)
CIE-LABlab(34.91, 51.11, -59.50)
CIE-LCHlch(34.91, 78.43, 310.66°)
OKLaboklab(46.17% 0.0905 -0.17)
OKLCHoklch(46.17% 0.193 298)
XYZxyz(15.0586, 8.4543, 43.4776)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6931B3 #7BB331
analogous
#313AB3 #6931B3 #AA31B3
triadic
#6931B3 #B36931 #31B369
tetradic
#6931B3 #B3313A #7BB331 #31B3AA
square
#6931B3 #B3313A #7BB331 #31B3AA
split-complementary
#6931B3 #B3AA31 #3AB331
monochromatic
#311753 #4D2483 #6931B3 #8852D0 #A982DD

Accessibility & contrast

On white

7.80
#6931B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6931B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6931B3
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6931B3#FFFFFF#000000##FFFFFF
##6931B31.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#57526F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6931b3;
/* rgb */ color: rgb(105, 49, 179);
/* oklch */ color: oklch(46.2% 0.193 298.0);
Tailwind
colors: {
  custom: {
    50: '#9a6ecb',
    500: '#6931b3',
    950: '#000000',
  },
}
SCSS
$custom: #6931b3;
$custom-light: #9a6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#6931b3",
  "rgb": {
    "r": 105,
    "g": 49,
    "b": 179
  },
  "hsl": {
    "h": 265.846,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4617,
    "c": 0.19264,
    "h": 298
  },
  "luminance": 0.08455
}

Semantic roles & 50–950 ramp

primary
#6931B3
secondary
#A5C67A
accent
#E0489E
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6931B3

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

Preview Lab → · Contrast checker → · Palette generator →

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