#6B4BB2#6B4BB2

#6B4BB2 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.0% C 0.157 H 294.3°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#6B4BB2
RGBrgb(107, 75, 178)
HSLhsl(259, 41%, 50%)
HSVhsv(259, 58%, 70%)
CMYKcmyk(39.9%, 57.9%, 0%, 30.2%)
CIE-LABlab(40.20, 37.32, -50.33)
CIE-LCHlch(40.20, 62.65, 306.56°)
OKLaboklab(50.02% 0.0647 -0.1431)
OKLCHoklch(50.02% 0.157 294.3)
XYZxyz(16.6132, 11.3719, 43.4305)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4BB2 #92B24B
analogous
#4B5FB2 #6B4BB2 #9F4BB2
triadic
#6B4BB2 #B26B4B #4BB26B
tetradic
#6B4BB2 #B24B5F #92B24B #4BB29F
square
#6B4BB2 #B24B5F #92B24B #4BB29F
split-complementary
#6B4BB2 #B29F4B #5FB24B
monochromatic
#37275C #513987 #6B4BB2 #8E75C5 #B1A0D7

Accessibility & contrast

On white

6.41
#6B4BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6B4BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4BB2
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4BB2#FFFFFF#000000##FFFFFF
##6B4BB21.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1060B5
Deuteranopia (green-blind)
#1E5DB0
Tritanopia (blue-blind)
#596177
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6b4bb2;
/* rgb */ color: rgb(107, 75, 178);
/* oklch */ color: oklch(50.0% 0.157 294.3);
Tailwind
colors: {
  custom: {
    50: '#9a7eca',
    500: '#6b4bb2',
    950: '#000000',
  },
}
SCSS
$custom: #6b4bb2;
$custom-light: #9a7eca;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4bb2",
  "rgb": {
    "r": 107,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 258.641,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50017,
    "c": 0.15704,
    "h": 294.3
  },
  "luminance": 0.11372
}

Semantic roles & 50–950 ramp

primary
#6B4BB2
secondary
#B5C495
accent
#D157AB
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6B4BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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