#6B3ACC#6B3ACC

#6B3ACC is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.6% C 0.210 H 292.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#6B3ACC
RGBrgb(107, 58, 204)
HSLhsl(260, 59%, 51%)
HSVhsv(260, 72%, 80%)
CMYKcmyk(47.5%, 71.6%, 0%, 20%)
CIE-LABlab(38.74, 53.66, -67.90)
CIE-LCHlch(38.74, 86.54, 308.32°)
OKLaboklab(49.57% 0.0799 -0.1947)
OKLCHoklch(49.57% 0.21 292.3)
XYZxyz(18.4725, 10.5109, 58.1705)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3ACC #9BCC3A
analogous
#3A52CC #6B3ACC #B43ACC
triadic
#6B3ACC #CC6B3A #3ACC6B
tetradic
#6B3ACC #CC3A52 #9BCC3A #3ACCB4
square
#6B3ACC #CC3A52 #9BCC3A #3ACCB4
split-complementary
#6B3ACC #CCB43A #52CC3A
monochromatic
#381D6F #5129A0 #6B3ACC #906BD9 #B49BE5

Accessibility & contrast

On white

6.77
#6B3ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#6B3ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B3ACC
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3ACC#FFFFFF#000000##FFFFFF
##6B3ACC1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#0058C9
Tritanopia (blue-blind)
#4D607F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6b3acc;
/* rgb */ color: rgb(107, 58, 204);
/* oklch */ color: oklch(49.6% 0.210 292.3);
Tailwind
colors: {
  custom: {
    50: '#9e74dd',
    500: '#6b3acc',
    950: '#000000',
  },
}
SCSS
$custom: #6b3acc;
$custom-light: #9e74dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3acc",
  "rgb": {
    "r": 107,
    "g": 58,
    "b": 204
  },
  "hsl": {
    "h": 260.137,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49574,
    "c": 0.21046,
    "h": 292.3
  },
  "luminance": 0.10512
}

Semantic roles & 50–950 ramp

primary
#6B3ACC
secondary
#BBD191
accent
#E246AE
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6B3ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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