#6A3BCA#6A3BCA

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

Color values

HEX#6A3BCA
RGBrgb(106, 59, 202)
HSLhsl(260, 57%, 51%)
HSVhsv(260, 71%, 79%)
CMYKcmyk(47.5%, 70.8%, 0%, 20.8%)
CIE-LABlab(38.65, 52.46, -66.90)
CIE-LCHlch(38.65, 85.01, 308.10°)
OKLaboklab(49.43% 0.078 -0.1918)
OKLCHoklch(49.43% 0.207 292.1)
XYZxyz(18.1655, 10.4557, 56.9267)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3BCA #9BCA3B
analogous
#3B53CA #6A3BCA #B13BCA
triadic
#6A3BCA #CA6A3B #3BCA6A
tetradic
#6A3BCA #CA3B53 #9BCA3B #3BCAB1
square
#6A3BCA #CA3B53 #9BCA3B #3BCAB1
split-complementary
#6A3BCA #CAB13B #53CA3B
monochromatic
#381E6D #502B9D #6A3BCA #8F6BD7 #B39BE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A3BCA#FFFFFF#000000##FFFFFF
##6A3BCA1.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)
#005DCE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#4C607E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6a3bca;
/* rgb */ color: rgb(106, 59, 202);
/* oklch */ color: oklch(49.4% 0.207 292.1);
Tailwind
colors: {
  custom: {
    50: '#9d75db',
    500: '#6a3bca',
    950: '#000000',
  },
}
SCSS
$custom: #6a3bca;
$custom-light: #9d75db;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3bca",
  "rgb": {
    "r": 106,
    "g": 59,
    "b": 202
  },
  "hsl": {
    "h": 259.72,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.4943,
    "c": 0.20705,
    "h": 292.1
  },
  "luminance": 0.10456
}

Semantic roles & 50–950 ramp

primary
#6A3BCA
secondary
#BBD091
accent
#E147AE
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A3BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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