#6B3BAD#6B3BAD

#6B3BAD is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.2% C 0.174 H 298.9°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#6B3BAD
RGBrgb(107, 59, 173)
HSLhsl(265, 49%, 45%)
HSVhsv(265, 66%, 68%)
CMYKcmyk(38.2%, 65.9%, 0%, 32.2%)
CIE-LABlab(36.50, 44.91, -53.34)
CIE-LCHlch(36.50, 69.73, 310.10°)
OKLaboklab(47.21% 0.0839 -0.1519)
OKLCHoklch(47.21% 0.174 298.9)
XYZxyz(15.1683, 9.2707, 40.5173)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3BAD #7DAD3B
analogous
#3B44AD #6B3BAD #A43BAD
triadic
#6B3BAD #AD6B3B #3BAD6B
tetradic
#6B3BAD #AD3B44 #7DAD3B #3BADA4
square
#6B3BAD #AD3B44 #7DAD3B #3BADA4
split-complementary
#6B3BAD #ADA43B #44AD3B
monochromatic
#331C52 #4F2B7F #6B3BAD #8A5DC8 #AB8BD7

Accessibility & contrast

On white

7.36
#6B3BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6B3BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3BAD
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3BAD#FFFFFF#000000##FFFFFF
##6B3BAD1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#0055AB
Tritanopia (blue-blind)
#5C556F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6b3bad;
/* rgb */ color: rgb(107, 59, 173);
/* oklch */ color: oklch(47.2% 0.174 298.9);
Tailwind
colors: {
  custom: {
    50: '#9a74c6',
    500: '#6b3bad',
    950: '#000000',
  },
}
SCSS
$custom: #6b3bad;
$custom-light: #9a74c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3bad",
  "rgb": {
    "r": 107,
    "g": 59,
    "b": 173
  },
  "hsl": {
    "h": 265.263,
    "s": 49.138,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47213,
    "c": 0.17355,
    "h": 298.9
  },
  "luminance": 0.09271
}

Semantic roles & 50–950 ramp

primary
#6B3BAD
secondary
#A7C282
accent
#D94F9F
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6B3BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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