#6B3BA2#6B3BA2

#6B3BA2 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.4% C 0.161 H 301.9°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#6B3BA2
RGBrgb(107, 59, 162)
HSLhsl(268, 47%, 43%)
HSVhsv(268, 64%, 64%)
CMYKcmyk(34%, 63.6%, 0%, 36.5%)
CIE-LABlab(35.72, 42.06, -48.02)
CIE-LCHlch(35.72, 63.83, 311.22°)
OKLaboklab(46.4% 0.0849 -0.1363)
OKLCHoklch(46.4% 0.161 301.9)
XYZxyz(14.1474, 8.8623, 35.1407)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3BA2 #72A23B
analogous
#3B3FA2 #6B3BA2 #9E3BA2
triadic
#6B3BA2 #A26B3B #3BA26B
tetradic
#6B3BA2 #A23B3F #72A23B #3BA29E
square
#6B3BA2 #A23B3F #72A23B #3BA29E
split-complementary
#6B3BA2 #A29E3B #3FA23B
monochromatic
#301A48 #4D2B75 #6B3BA2 #8958C2 #A985D3

Accessibility & contrast

On white

7.57
#6B3BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6B3BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3BA2
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3BA2#FFFFFF#000000##FFFFFF
##6B3BA21.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#1854A0
Tritanopia (blue-blind)
#605169
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6b3ba2;
/* rgb */ color: rgb(107, 59, 162);
/* oklch */ color: oklch(46.4% 0.161 301.9);
Tailwind
colors: {
  custom: {
    50: '#9974be',
    500: '#6b3ba2',
    950: '#000000',
  },
}
SCSS
$custom: #6b3ba2;
$custom-light: #9974be;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3ba2",
  "rgb": {
    "r": 107,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 267.961,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.464,
    "c": 0.16055,
    "h": 301.9
  },
  "luminance": 0.08862
}

Semantic roles & 50–950 ramp

primary
#6B3BA2
secondary
#9FBD7C
accent
#D65298
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6B3BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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