#6B3CCC#6B3CCC

#6B3CCC is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.8% C 0.208 H 292.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#6B3CCC
RGBrgb(107, 60, 204)
HSLhsl(260, 59%, 52%)
HSVhsv(260, 71%, 80%)
CMYKcmyk(47.5%, 70.6%, 0%, 20%)
CIE-LABlab(39.10, 52.66, -67.32)
CIE-LCHlch(39.10, 85.47, 308.04°)
OKLaboklab(49.83% 0.0781 -0.193)
OKLCHoklch(49.83% 0.208 292)
XYZxyz(18.5753, 10.7165, 58.2048)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3CCC #9DCC3C
analogous
#3C55CC #6B3CCC #B33CCC
triadic
#6B3CCC #CC6B3C #3CCC6B
tetradic
#6B3CCC #CC3C55 #9DCC3C #3CCCB3
square
#6B3CCC #CC3C55 #9DCC3C #3CCCB3
split-complementary
#6B3CCC #CCB33C #55CC3C
monochromatic
#381D70 #512AA1 #6B3CCC #906DD9 #B59DE5

Accessibility & contrast

On white

6.68
#6B3CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#6B3CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B3CCC
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3CCC#FFFFFF#000000##FFFFFF
##6B3CCC1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED0
Deuteranopia (green-blind)
#0059C9
Tritanopia (blue-blind)
#4C6180
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6b3ccc;
/* rgb */ color: rgb(107, 60, 204);
/* oklch */ color: oklch(49.8% 0.208 292.0);
Tailwind
colors: {
  custom: {
    50: '#9e76dd',
    500: '#6b3ccc',
    950: '#000000',
  },
}
SCSS
$custom: #6b3ccc;
$custom-light: #9e76dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3ccc",
  "rgb": {
    "r": 107,
    "g": 60,
    "b": 204
  },
  "hsl": {
    "h": 259.583,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49826,
    "c": 0.20822,
    "h": 292
  },
  "luminance": 0.10717
}

Semantic roles & 50–950 ramp

primary
#6B3CCC
secondary
#BDD192
accent
#E246AF
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6B3CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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