#6B3BBE#6B3BBE

#6B3BBE is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.5% C 0.193 H 295.0°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#6B3BBE
RGBrgb(107, 59, 190)
HSLhsl(262, 53%, 49%)
HSVhsv(262, 69%, 75%)
CMYKcmyk(43.7%, 68.9%, 0%, 25.5%)
CIE-LABlab(37.79, 49.41, -61.29)
CIE-LCHlch(37.79, 78.73, 308.88°)
OKLaboklab(48.54% 0.0816 -0.1753)
OKLCHoklch(48.54% 0.193 295)
XYZxyz(16.9191, 9.9710, 49.7384)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3BBE #8EBE3B
analogous
#3B4DBE #6B3BBE #AD3BBE
triadic
#6B3BBE #BE6B3B #3BBE6B
tetradic
#6B3BBE #BE3B4D #8EBE3B #3BBEAD
square
#6B3BBE #BE3B4D #8EBE3B #3BBEAD
split-complementary
#6B3BBE #BEAD3B #4DBE3B
monochromatic
#361E61 #512C8F #6B3BBE #8D67D0 #B095DE

Accessibility & contrast

On white

7.01
#6B3BBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6B3BBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3BBE
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3BBE#FFFFFF#000000##FFFFFF
##6B3BBE1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC2
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#545B78
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6b3bbe;
/* rgb */ color: rgb(107, 59, 190);
/* oklch */ color: oklch(48.5% 0.193 295.0);
Tailwind
colors: {
  custom: {
    50: '#9c74d3',
    500: '#6b3bbe',
    950: '#000000',
  },
}
SCSS
$custom: #6b3bbe;
$custom-light: #9c74d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3bbe",
  "rgb": {
    "r": 107,
    "g": 59,
    "b": 190
  },
  "hsl": {
    "h": 261.985,
    "s": 52.61,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48544,
    "c": 0.19335,
    "h": 295
  },
  "luminance": 0.09971
}

Semantic roles & 50–950 ramp

primary
#6B3BBE
secondary
#B3CA8B
accent
#DC4CA7
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6B3BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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