#6B3ABA#6B3ABA

#6B3ABA is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.1% C 0.190 H 296.0°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#6B3ABA
RGBrgb(107, 58, 186)
HSLhsl(263, 52%, 48%)
HSVhsv(263, 69%, 73%)
CMYKcmyk(42.5%, 68.8%, 0%, 27.1%)
CIE-LABlab(37.29, 48.86, -59.75)
CIE-LCHlch(37.29, 77.18, 309.27°)
OKLaboklab(48.09% 0.0833 -0.1708)
OKLCHoklch(48.09% 0.19 296)
XYZxyz(16.4370, 9.6967, 47.4505)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3ABA #89BA3A
analogous
#3A49BA #6B3ABA #AB3ABA
triadic
#6B3ABA #BA6B3A #3ABA6B
tetradic
#6B3ABA #BA3A49 #89BA3A #3ABAAB
square
#6B3ABA #BA3A49 #89BA3A #3ABAAB
split-complementary
#6B3ABA #BAAB3A #49BA3A
monochromatic
#351D5D #502B8B #6B3ABA #8C63CE #AE92DD

Accessibility & contrast

On white

7.14
#6B3ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#6B3ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3ABA
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3ABA#FFFFFF#000000##FFFFFF
##6B3ABA1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#0056B7
Tritanopia (blue-blind)
#565975
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6b3aba;
/* rgb */ color: rgb(107, 58, 186);
/* oklch */ color: oklch(48.1% 0.190 296.0);
Tailwind
colors: {
  custom: {
    50: '#9c74d0',
    500: '#6b3aba',
    950: '#000000',
  },
}
SCSS
$custom: #6b3aba;
$custom-light: #9c74d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3aba",
  "rgb": {
    "r": 107,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 262.969,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4809,
    "c": 0.18997,
    "h": 296
  },
  "luminance": 0.09697
}

Semantic roles & 50–950 ramp

primary
#6B3ABA
secondary
#AFC888
accent
#DC4CA5
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6B3ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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