#6B3BB3#6B3BB3

#6B3BB3 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.7% C 0.181 H 297.4°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#6B3BB3
RGBrgb(107, 59, 179)
HSLhsl(264, 50%, 47%)
HSVhsv(264, 67%, 70%)
CMYKcmyk(40.2%, 67%, 0%, 29.8%)
CIE-LABlab(36.94, 46.49, -56.18)
CIE-LCHlch(36.94, 72.92, 309.61°)
OKLaboklab(47.67% 0.0832 -0.1603)
OKLCHoklch(47.67% 0.181 297.4)
XYZxyz(15.7620, 9.5081, 43.6439)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3BB3 #83B33B
analogous
#3B47B3 #6B3BB3 #A73BB3
triadic
#6B3BB3 #B36B3B #3BB36B
tetradic
#6B3BB3 #B33B47 #83B33B #3BB3A7
square
#6B3BB3 #B33B47 #83B33B #3BB3A7
split-complementary
#6B3BB3 #B3A73B #47B33B
monochromatic
#341D57 #4F2C85 #6B3BB3 #8B60CB #AD8EDA

Accessibility & contrast

On white

7.24
#6B3BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6B3BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3BB3
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3BB3#FFFFFF#000000##FFFFFF
##6B3BB31.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#595772
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6b3bb3;
/* rgb */ color: rgb(107, 59, 179);
/* oklch */ color: oklch(47.7% 0.181 297.4);
Tailwind
colors: {
  custom: {
    50: '#9b74cb',
    500: '#6b3bb3',
    950: '#000000',
  },
}
SCSS
$custom: #6b3bb3;
$custom-light: #9b74cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3bb3",
  "rgb": {
    "r": 107,
    "g": 59,
    "b": 179
  },
  "hsl": {
    "h": 264,
    "s": 50.42,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47673,
    "c": 0.18058,
    "h": 297.4
  },
  "luminance": 0.09508
}

Semantic roles & 50–950 ramp

primary
#6B3BB3
secondary
#ABC585
accent
#DA4EA2
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6B3BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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