#6B3DB2#6B3DB2

#6B3DB2 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.9% C 0.177 H 297.3°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#6B3DB2
RGBrgb(107, 61, 178)
HSLhsl(264, 49%, 47%)
HSVhsv(264, 66%, 70%)
CMYKcmyk(39.9%, 65.7%, 0%, 30.2%)
CIE-LABlab(37.26, 45.17, -55.08)
CIE-LCHlch(37.26, 71.23, 309.35°)
OKLaboklab(47.87% 0.0811 -0.157)
OKLCHoklch(47.87% 0.177 297.3)
XYZxyz(15.7660, 9.6774, 43.1481)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3DB2 #84B23D
analogous
#3D49B2 #6B3DB2 #A63DB2
triadic
#6B3DB2 #B26B3D #3DB26B
tetradic
#6B3DB2 #B23D49 #84B23D #3DB2A6
square
#6B3DB2 #B23D49 #84B23D #3DB2A6
split-complementary
#6B3DB2 #B2A63D #49B23D
monochromatic
#341E57 #502D84 #6B3DB2 #8B63C9 #AD90D9

Accessibility & contrast

On white

7.15
#6B3DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#6B3DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3DB2
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3DB2#FFFFFF#000000##FFFFFF
##6B3DB21.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#5A5872
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6b3db2;
/* rgb */ color: rgb(107, 61, 178);
/* oklch */ color: oklch(47.9% 0.177 297.3);
Tailwind
colors: {
  custom: {
    50: '#9b75ca',
    500: '#6b3db2',
    950: '#000000',
  },
}
SCSS
$custom: #6b3db2;
$custom-light: #9b75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3db2",
  "rgb": {
    "r": 107,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 263.59,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47874,
    "c": 0.17677,
    "h": 297.3
  },
  "luminance": 0.09678
}

Semantic roles & 50–950 ramp

primary
#6B3DB2
secondary
#ACC487
accent
#D94FA3
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6B3DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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