#6B3DB3#6B3DB3

#6B3DB3 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.0% C 0.178 H 297.1°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#6B3DB3
RGBrgb(107, 61, 179)
HSLhsl(263, 49%, 47%)
HSVhsv(263, 66%, 70%)
CMYKcmyk(40.2%, 65.9%, 0%, 29.8%)
CIE-LABlab(37.33, 45.43, -55.55)
CIE-LCHlch(37.33, 71.77, 309.28°)
OKLaboklab(47.95% 0.081 -0.1584)
OKLCHoklch(47.95% 0.178 297.1)
XYZxyz(15.8667, 9.7177, 43.6788)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3DB3 #85B33D
analogous
#3D4AB3 #6B3DB3 #A63DB3
triadic
#6B3DB3 #B36B3D #3DB36B
tetradic
#6B3DB3 #B33D4A #85B33D #3DB3A6
square
#6B3DB3 #B33D4A #85B33D #3DB3A6
split-complementary
#6B3DB3 #B3A63D #4AB33D
monochromatic
#341E58 #502D85 #6B3DB3 #8B63CA #AD91D9

Accessibility & contrast

On white

7.13
#6B3DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B3DB3
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3DB3#FFFFFF#000000##FFFFFF
##6B3DB31.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#595873
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6b3db3;
/* rgb */ color: rgb(107, 61, 179);
/* oklch */ color: oklch(48.0% 0.178 297.1);
Tailwind
colors: {
  custom: {
    50: '#9b75cb',
    500: '#6b3db3',
    950: '#000000',
  },
}
SCSS
$custom: #6b3db3;
$custom-light: #9b75cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3db3",
  "rgb": {
    "r": 107,
    "g": 61,
    "b": 179
  },
  "hsl": {
    "h": 263.39,
    "s": 49.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47951,
    "c": 0.17796,
    "h": 297.1
  },
  "luminance": 0.09718
}

Semantic roles & 50–950 ramp

primary
#6B3DB3
secondary
#ADC587
accent
#D94FA3
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6B3DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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