#6B3ACB#6B3ACB

#6B3ACB is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.5% C 0.209 H 292.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#6B3ACB
RGBrgb(107, 58, 203)
HSLhsl(260, 58%, 51%)
HSVhsv(260, 71%, 80%)
CMYKcmyk(47.3%, 71.4%, 0%, 20.4%)
CIE-LABlab(38.66, 53.39, -67.45)
CIE-LCHlch(38.66, 86.03, 308.36°)
OKLaboklab(49.49% 0.0801 -0.1934)
OKLCHoklch(49.49% 0.209 292.5)
XYZxyz(18.3529, 10.4631, 57.5409)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3ACB #9ACB3A
analogous
#3A51CB #6B3ACB #B33ACB
triadic
#6B3ACB #CB6B3A #3ACB6B
tetradic
#6B3ACB #CB3A51 #9ACB3A #3ACBB3
square
#6B3ACB #CB3A51 #9ACB3A #3ACBB3
split-complementary
#6B3ACB #CBB33A #51CB3A
monochromatic
#381D6E #512A9E #6B3ACB #8F6AD8 #B49BE5

Accessibility & contrast

On white

6.79
#6B3ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#6B3ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B3ACB
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3ACB#FFFFFF#000000##FFFFFF
##6B3ACB1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b3acb;
/* rgb */ color: rgb(107, 58, 203);
/* oklch */ color: oklch(49.5% 0.209 292.5);
Tailwind
colors: {
  custom: {
    50: '#9e74dc',
    500: '#6b3acb',
    950: '#000000',
  },
}
SCSS
$custom: #6b3acb;
$custom-light: #9e74dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3acb",
  "rgb": {
    "r": 107,
    "g": 58,
    "b": 203
  },
  "hsl": {
    "h": 260.276,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.4949,
    "c": 0.20934,
    "h": 292.5
  },
  "luminance": 0.10464
}

Semantic roles & 50–950 ramp

primary
#6B3ACB
secondary
#BBD090
accent
#E146AD
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6B3ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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