#6B3BBB#6B3BBB

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

Color values

HEX#6B3BBB
RGBrgb(107, 59, 187)
HSLhsl(263, 52%, 48%)
HSVhsv(263, 68%, 73%)
CMYKcmyk(42.8%, 68.4%, 0%, 26.7%)
CIE-LABlab(37.56, 48.61, -59.91)
CIE-LCHlch(37.56, 77.15, 309.06°)
OKLaboklab(48.3% 0.0821 -0.1712)
OKLCHoklch(48.3% 0.19 295.6)
XYZxyz(16.5946, 9.8412, 48.0293)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3BBB #8BBB3B
analogous
#3B4BBB #6B3BBB #AB3BBB
triadic
#6B3BBB #BB6B3B #3BBB6B
tetradic
#6B3BBB #BB3B4B #8BBB3B #3BBBAB
square
#6B3BBB #BB3B4B #8BBB3B #3BBBAB
split-complementary
#6B3BBB #BBAB3B #4BBB3B
monochromatic
#361E5E #502C8C #6B3BBB #8C65CE #AF93DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B3BBB#FFFFFF#000000##FFFFFF
##6B3BBB1.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)
#0059BF
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#565A76
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6b3bbb;
/* rgb */ color: rgb(107, 59, 187);
/* oklch */ color: oklch(48.3% 0.190 295.6);
Tailwind
colors: {
  custom: {
    50: '#9c74d0',
    500: '#6b3bbb',
    950: '#000000',
  },
}
SCSS
$custom: #6b3bbb;
$custom-light: #9c74d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3bbb",
  "rgb": {
    "r": 107,
    "g": 59,
    "b": 187
  },
  "hsl": {
    "h": 262.5,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48303,
    "c": 0.18988,
    "h": 295.6
  },
  "luminance": 0.09842
}

Semantic roles & 50–950 ramp

primary
#6B3BBB
secondary
#B1C88A
accent
#DB4CA6
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6B3BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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