#6B3C8A#6B3C8A

#6B3C8A is a dark, vivid violet. Relative luminance 0.082; OKLCH L 44.9% C 0.130 H 310.0°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#6B3C8A
RGBrgb(107, 60, 138)
HSLhsl(276, 39%, 39%)
HSVhsv(276, 57%, 54%)
CMYKcmyk(22.5%, 56.5%, 0%, 45.9%)
CIE-LABlab(34.38, 35.51, -35.56)
CIE-LCHlch(34.38, 50.26, 314.96°)
OKLaboklab(44.93% 0.0837 -0.0998)
OKLCHoklch(44.93% 0.13 310)
XYZxyz(12.2658, 8.1927, 24.9750)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3C8A #5B8A3C
analogous
#443C8A #6B3C8A #8A3C82
triadic
#6B3C8A #8A6B3C #3C8A6B
tetradic
#6B3C8A #8A443C #5B8A3C #3C828A
square
#6B3C8A #8A443C #5B8A3C #3C828A
split-complementary
#6B3C8A #828A3C #3C8A44
monochromatic
#291735 #4A295F #6B3C8A #8C50B3 #A87BC6

Accessibility & contrast

On white

7.96
#6B3C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6B3C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3C8A
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3C8A#FFFFFF#000000##FFFFFF
##6B3C8A1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244F8D
Deuteranopia (green-blind)
#345288
Tritanopia (blue-blind)
#674A5D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6b3c8a;
/* rgb */ color: rgb(107, 60, 138);
/* oklch */ color: oklch(44.9% 0.130 310.0);
Tailwind
colors: {
  custom: {
    50: '#9874ac',
    500: '#6b3c8a',
    950: '#000000',
  },
}
SCSS
$custom: #6b3c8a;
$custom-light: #9874ac;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3c8a",
  "rgb": {
    "r": 107,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 276.154,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44928,
    "c": 0.13021,
    "h": 310
  },
  "luminance": 0.08192
}

Semantic roles & 50–950 ramp

primary
#6B3C8A
secondary
#8BAF73
accent
#CF5988
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0E0810
muted
#7E7B7F

Preview Lab

Preview with #6B3C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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