#6C3BB2#6C3BB2

#6C3BB2 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.7% C 0.180 H 298.2°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#6C3BB2
RGBrgb(108, 59, 178)
HSLhsl(265, 50%, 46%)
HSVhsv(265, 67%, 70%)
CMYKcmyk(39.3%, 66.9%, 0%, 30.2%)
CIE-LABlab(36.99, 46.43, -55.52)
CIE-LCHlch(36.99, 72.37, 309.91°)
OKLaboklab(47.71% 0.0848 -0.1583)
OKLCHoklch(47.71% 0.18 298.2)
XYZxyz(15.7821, 9.5302, 43.1189)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3BB2 #81B23B
analogous
#3B46B2 #6C3BB2 #A83BB2
triadic
#6C3BB2 #B26C3B #3BB26C
tetradic
#6C3BB2 #B23B46 #81B23B #3BB2A8
square
#6C3BB2 #B23B46 #81B23B #3BB2A8
split-complementary
#6C3BB2 #B2A83B #46B23B
monochromatic
#341D56 #502C84 #6C3BB2 #8C60CA #AD8EDA

Accessibility & contrast

On white

7.23
#6C3BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6C3BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3BB2
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3BB2#FFFFFF#000000##FFFFFF
##6C3BB21.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#5B5771
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6c3bb2;
/* rgb */ color: rgb(108, 59, 178);
/* oklch */ color: oklch(47.7% 0.180 298.2);
Tailwind
colors: {
  custom: {
    50: '#9c74ca',
    500: '#6c3bb2',
    950: '#000000',
  },
}
SCSS
$custom: #6c3bb2;
$custom-light: #9c74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3bb2",
  "rgb": {
    "r": 108,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 264.706,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47705,
    "c": 0.17954,
    "h": 298.2
  },
  "luminance": 0.0953
}

Semantic roles & 50–950 ramp

primary
#6C3BB2
secondary
#AAC485
accent
#DA4EA0
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6C3BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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