#6B3BB2#6B3BB2

#6B3BB2 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.6% C 0.179 H 297.7°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#6B3BB2
RGBrgb(107, 59, 178)
HSLhsl(264, 50%, 46%)
HSVhsv(264, 67%, 70%)
CMYKcmyk(39.9%, 66.9%, 0%, 30.2%)
CIE-LABlab(36.87, 46.23, -55.71)
CIE-LCHlch(36.87, 72.39, 309.69°)
OKLaboklab(47.6% 0.0833 -0.1589)
OKLCHoklch(47.6% 0.179 297.7)
XYZxyz(15.6612, 9.4678, 43.1132)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3BB2 #82B23B
analogous
#3B46B2 #6B3BB2 #A73BB2
triadic
#6B3BB2 #B26B3B #3BB26B
tetradic
#6B3BB2 #B23B46 #82B23B #3BB2A7
square
#6B3BB2 #B23B46 #82B23B #3BB2A7
split-complementary
#6B3BB2 #B2A73B #46B23B
monochromatic
#341D56 #4F2C84 #6B3BB2 #8B60CA #AC8EDA

Accessibility & contrast

On white

7.26
#6B3BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6B3BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3BB2
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3BB2#FFFFFF#000000##FFFFFF
##6B3BB21.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#5A5771
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6b3bb2;
/* rgb */ color: rgb(107, 59, 178);
/* oklch */ color: oklch(47.6% 0.179 297.7);
Tailwind
colors: {
  custom: {
    50: '#9b74ca',
    500: '#6b3bb2',
    950: '#000000',
  },
}
SCSS
$custom: #6b3bb2;
$custom-light: #9b74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3bb2",
  "rgb": {
    "r": 107,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 264.202,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47596,
    "c": 0.17942,
    "h": 297.7
  },
  "luminance": 0.09468
}

Semantic roles & 50–950 ramp

primary
#6B3BB2
secondary
#ABC485
accent
#DA4EA1
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6B3BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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