#6B3CB9#6B3CB9

#6B3CB9 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.3% C 0.186 H 295.9°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#6B3CB9
RGBrgb(107, 60, 185)
HSLhsl(263, 51%, 48%)
HSVhsv(263, 68%, 73%)
CMYKcmyk(42.2%, 67.6%, 0%, 27.5%)
CIE-LABlab(37.59, 47.56, -58.68)
CIE-LCHlch(37.59, 75.53, 309.03°)
OKLaboklab(48.28% 0.0813 -0.1676)
OKLCHoklch(48.28% 0.186 295.9)
XYZxyz(16.4339, 9.8599, 46.9268)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3CB9 #8AB93C
analogous
#3C4CB9 #6B3CB9 #A93CB9
triadic
#6B3CB9 #B96B3C #3CB96B
tetradic
#6B3CB9 #B93C4C #8AB93C #3CB9A9
square
#6B3CB9 #B93C4C #8AB93C #3CB9A9
split-complementary
#6B3CB9 #B9A93C #4CB93C
monochromatic
#361E5D #502D8B #6B3CB9 #8C65CD #AF93DC

Accessibility & contrast

On white

7.07
#6B3CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6B3CB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3CB9
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3CB9#FFFFFF#000000##FFFFFF
##6B3CB91.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#0057B6
Tritanopia (blue-blind)
#575A75
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6b3cb9;
/* rgb */ color: rgb(107, 60, 185);
/* oklch */ color: oklch(48.3% 0.186 295.9);
Tailwind
colors: {
  custom: {
    50: '#9c75cf',
    500: '#6b3cb9',
    950: '#000000',
  },
}
SCSS
$custom: #6b3cb9;
$custom-light: #9c75cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3cb9",
  "rgb": {
    "r": 107,
    "g": 60,
    "b": 185
  },
  "hsl": {
    "h": 262.56,
    "s": 51.02,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48279,
    "c": 0.1863,
    "h": 295.9
  },
  "luminance": 0.0986
}

Semantic roles & 50–950 ramp

primary
#6B3CB9
secondary
#B0C789
accent
#DA4DA5
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6B3CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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