#6B3ECC#6B3ECC

#6B3ECC is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.1% C 0.206 H 291.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#6B3ECC
RGBrgb(107, 62, 204)
HSLhsl(259, 58%, 52%)
HSVhsv(259, 70%, 80%)
CMYKcmyk(47.5%, 69.6%, 0%, 20%)
CIE-LABlab(39.46, 51.65, -66.72)
CIE-LCHlch(39.46, 84.38, 307.74°)
OKLaboklab(50.09% 0.0763 -0.1913)
OKLCHoklch(50.09% 0.206 291.7)
XYZxyz(18.6821, 10.9300, 58.2404)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3ECC #9FCC3E
analogous
#3E58CC #6B3ECC #B23ECC
triadic
#6B3ECC #CC6B3E #3ECC6B
tetradic
#6B3ECC #CC3E58 #9FCC3E #3ECCB2
square
#6B3ECC #CC3E58 #9FCC3E #3ECCB2
split-complementary
#6B3ECC #CCB23E #58CC3E
monochromatic
#381E72 #512BA2 #6B3ECC #906ED9 #B59FE6

Accessibility & contrast

On white

6.59
#6B3ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#6B3ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B3ECC
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3ECC#FFFFFF#000000##FFFFFF
##6B3ECC1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD0
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#4C6280
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6b3ecc;
/* rgb */ color: rgb(107, 62, 204);
/* oklch */ color: oklch(50.1% 0.206 291.7);
Tailwind
colors: {
  custom: {
    50: '#9e77dd',
    500: '#6b3ecc',
    950: '#000000',
  },
}
SCSS
$custom: #6b3ecc;
$custom-light: #9e77dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3ecc",
  "rgb": {
    "r": 107,
    "g": 62,
    "b": 204
  },
  "hsl": {
    "h": 259.014,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50085,
    "c": 0.20592,
    "h": 291.7
  },
  "luminance": 0.10931
}

Semantic roles & 50–950 ramp

primary
#6B3ECC
secondary
#BED294
accent
#E146B0
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6B3ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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