#6B3191#6B3191

#6B3191 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.8% C 0.155 H 309.2°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#6B3191
RGBrgb(107, 49, 145)
HSLhsl(276, 49%, 38%)
HSVhsv(276, 66%, 57%)
CMYKcmyk(26.2%, 66.2%, 0%, 43.1%)
CIE-LABlab(32.63, 43.11, -42.67)
CIE-LCHlch(32.63, 60.65, 315.29°)
OKLaboklab(43.8% 0.0982 -0.1205)
OKLCHoklch(43.8% 0.155 309.2)
XYZxyz(12.2715, 7.3670, 27.5581)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3191 #579131
analogous
#3B3191 #6B3191 #913187
triadic
#6B3191 #916B31 #31916B
tetradic
#6B3191 #913B31 #579131 #318791
square
#6B3191 #913B31 #579131 #318791
split-complementary
#6B3191 #879131 #31913B
monochromatic
#271236 #492263 #6B3191 #8D41BF #A86ECE

Accessibility & contrast

On white

8.49
#6B3191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6B3191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3191
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3191#FFFFFF#000000##FFFFFF
##6B31911.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#224E8F
Tritanopia (blue-blind)
#66455C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6b3191;
/* rgb */ color: rgb(107, 49, 145);
/* oklch */ color: oklch(43.8% 0.155 309.2);
Tailwind
colors: {
  custom: {
    50: '#996db2',
    500: '#6b3191',
    950: '#000000',
  },
}
SCSS
$custom: #6b3191;
$custom-light: #996db2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3191",
  "rgb": {
    "r": 107,
    "g": 49,
    "b": 145
  },
  "hsl": {
    "h": 276.25,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43795,
    "c": 0.15546,
    "h": 309.2
  },
  "luminance": 0.07367
}

Semantic roles & 50–950 ramp

primary
#6B3191
secondary
#87B668
accent
#D94F86
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6B3191

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

Preview Lab → · Contrast checker → · Palette generator →

#6B3191 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva