#6931B6#6931B6

#6931B6 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.196 H 297.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#6931B6
RGBrgb(105, 49, 182)
HSLhsl(265, 58%, 45%)
HSVhsv(265, 73%, 71%)
CMYKcmyk(42.3%, 73.1%, 0%, 28.6%)
CIE-LABlab(35.16, 51.87, -60.88)
CIE-LCHlch(35.16, 79.98, 310.44°)
OKLaboklab(46.42% 0.0899 -0.1741)
OKLCHoklch(46.42% 0.196 297.3)
XYZxyz(15.3653, 8.5770, 45.0929)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6931B6 #7EB631
analogous
#313BB6 #6931B6 #AB31B6
triadic
#6931B6 #B66931 #31B669
tetradic
#6931B6 #B6313B #7EB631 #31B6AB
square
#6931B6 #B6313B #7EB631 #31B6AB
split-complementary
#6931B6 #B6AB31 #3BB631
monochromatic
#311756 #4D2486 #6931B6 #8853D1 #AA84DE

Accessibility & contrast

On white

7.73
#6931B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#6931B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6931B6
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6931B6#FFFFFF#000000##FFFFFF
##6931B61.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#0051B3
Tritanopia (blue-blind)
#555371
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6931b6;
/* rgb */ color: rgb(105, 49, 182);
/* oklch */ color: oklch(46.4% 0.196 297.3);
Tailwind
colors: {
  custom: {
    50: '#9b6ecd',
    500: '#6931b6',
    950: '#000000',
  },
}
SCSS
$custom: #6931b6;
$custom-light: #9b6ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#6931b6",
  "rgb": {
    "r": 105,
    "g": 49,
    "b": 182
  },
  "hsl": {
    "h": 265.263,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46419,
    "c": 0.19594,
    "h": 297.3
  },
  "luminance": 0.08577
}

Semantic roles & 50–950 ramp

primary
#6931B6
secondary
#A7C77C
accent
#E147A0
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6931B6

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

Preview Lab → · Contrast checker → · Palette generator →

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