#6C3EB2#6C3EB2

#6C3EB2 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.1% C 0.176 H 297.6°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#6C3EB2
RGBrgb(108, 62, 178)
HSLhsl(264, 48%, 47%)
HSVhsv(264, 65%, 70%)
CMYKcmyk(39.3%, 65.2%, 0%, 30.2%)
CIE-LABlab(37.57, 44.84, -54.57)
CIE-LCHlch(37.57, 70.63, 309.41°)
OKLaboklab(48.12% 0.0814 -0.1555)
OKLCHoklch(48.12% 0.176 297.6)
XYZxyz(15.9408, 9.8475, 43.1718)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3EB2 #84B23E
analogous
#3E4AB2 #6C3EB2 #A63EB2
triadic
#6C3EB2 #B26C3E #3EB26C
tetradic
#6C3EB2 #B23E4A #84B23E #3EB2A6
square
#6C3EB2 #B23E4A #84B23E #3EB2A6
split-complementary
#6C3EB2 #B2A63E #4AB23E
monochromatic
#351E57 #502E85 #6C3EB2 #8C64C9 #AE92D9

Accessibility & contrast

On white

7.07
#6C3EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6C3EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3EB2
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3EB2#FFFFFF#000000##FFFFFF
##6C3EB21.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#5B5972
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6c3eb2;
/* rgb */ color: rgb(108, 62, 178);
/* oklch */ color: oklch(48.1% 0.176 297.6);
Tailwind
colors: {
  custom: {
    50: '#9b76ca',
    500: '#6c3eb2',
    950: '#000000',
  },
}
SCSS
$custom: #6c3eb2;
$custom-light: #9b76ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3eb2",
  "rgb": {
    "r": 108,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 263.793,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48124,
    "c": 0.17554,
    "h": 297.6
  },
  "luminance": 0.09848
}

Semantic roles & 50–950 ramp

primary
#6C3EB2
secondary
#ACC488
accent
#D850A2
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #6C3EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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