#6B3BB5#6B3BB5

#6B3BB5 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.8% C 0.183 H 297.0°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#6B3BB5
RGBrgb(107, 59, 181)
HSLhsl(264, 51%, 47%)
HSVhsv(264, 67%, 71%)
CMYKcmyk(40.9%, 67.4%, 0%, 29%)
CIE-LABlab(37.10, 47.02, -57.12)
CIE-LCHlch(37.10, 73.98, 309.46°)
OKLaboklab(47.83% 0.083 -0.163)
OKLCHoklch(47.83% 0.183 297)
XYZxyz(15.9657, 9.5896, 44.7169)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3BB5 #85B53B
analogous
#3B48B5 #6B3BB5 #A83BB5
triadic
#6B3BB5 #B56B3B #3BB56B
tetradic
#6B3BB5 #B53B48 #85B53B #3BB5A8
square
#6B3BB5 #B53B48 #85B53B #3BB5A8
split-complementary
#6B3BB5 #B5A83B #48B53B
monochromatic
#341D59 #502C87 #6B3BB5 #8B62CC #AD90DB

Accessibility & contrast

On white

7.20
#6B3BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#6B3BB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3BB5
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3BB5#FFFFFF#000000##FFFFFF
##6B3BB51.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#0056B2
Tritanopia (blue-blind)
#585873
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6b3bb5;
/* rgb */ color: rgb(107, 59, 181);
/* oklch */ color: oklch(47.8% 0.183 297.0);
Tailwind
colors: {
  custom: {
    50: '#9b74cc',
    500: '#6b3bb5',
    950: '#000000',
  },
}
SCSS
$custom: #6b3bb5;
$custom-light: #9b74cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3bb5",
  "rgb": {
    "r": 107,
    "g": 59,
    "b": 181
  },
  "hsl": {
    "h": 263.607,
    "s": 50.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47829,
    "c": 0.18292,
    "h": 297
  },
  "luminance": 0.0959
}

Semantic roles & 50–950 ramp

primary
#6B3BB5
secondary
#ADC686
accent
#DA4DA3
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6B3BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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