#6B3CB1#6B3CB1

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

Color values

HEX#6B3CB1
RGBrgb(107, 60, 177)
HSLhsl(264, 49%, 46%)
HSVhsv(264, 66%, 69%)
CMYKcmyk(39.5%, 66.1%, 0%, 30.6%)
CIE-LABlab(36.99, 45.44, -54.92)
CIE-LCHlch(36.99, 71.28, 309.60°)
OKLaboklab(47.66% 0.0824 -0.1566)
OKLCHoklch(47.66% 0.177 297.7)
XYZxyz(15.6130, 9.5316, 42.6036)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3CB1 #82B13C
analogous
#3C47B1 #6B3CB1 #A63CB1
triadic
#6B3CB1 #B16B3C #3CB16B
tetradic
#6B3CB1 #B13C47 #82B13C #3CB1A6
square
#6B3CB1 #B13C47 #82B13C #3CB1A6
split-complementary
#6B3CB1 #B1A63C #47B13C
monochromatic
#341D56 #4F2D83 #6B3CB1 #8B61C9 #AC8FD9

Accessibility & contrast

On white

7.23
#6B3CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6B3CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3CB1
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3CB1#FFFFFF#000000##FFFFFF
##6B3CB11.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#0056AF
Tritanopia (blue-blind)
#5A5771
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6b3cb1;
/* rgb */ color: rgb(107, 60, 177);
/* oklch */ color: oklch(47.7% 0.177 297.7);
Tailwind
colors: {
  custom: {
    50: '#9b75c9',
    500: '#6b3cb1',
    950: '#000000',
  },
}
SCSS
$custom: #6b3cb1;
$custom-light: #9b75c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3cb1",
  "rgb": {
    "r": 107,
    "g": 60,
    "b": 177
  },
  "hsl": {
    "h": 264.103,
    "s": 49.367,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47657,
    "c": 0.17692,
    "h": 297.7
  },
  "luminance": 0.09532
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B3CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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