#6A3CD3#6A3CD3

#6A3CD3 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.3% C 0.216 H 290.4°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#6A3CD3
RGBrgb(106, 60, 211)
HSLhsl(258, 63%, 53%)
HSVhsv(258, 72%, 83%)
CMYKcmyk(49.8%, 71.6%, 0%, 17.3%)
CIE-LABlab(39.58, 54.40, -70.59)
CIE-LCHlch(39.58, 89.12, 307.62°)
OKLaboklab(50.32% 0.0753 -0.2026)
OKLCHoklch(50.32% 0.216 290.4)
XYZxyz(19.3142, 10.9982, 62.7206)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3CD3 #A5D33C
analogous
#3C59D3 #6A3CD3 #B53CD3
triadic
#6A3CD3 #D36A3C #3CD36A
tetradic
#6A3CD3 #D33C59 #A5D33C #3CD3B5
square
#6A3CD3 #D33C59 #A5D33C #3CD3B5
split-complementary
#6A3CD3 #D3B53C #59D33C
monochromatic
#381B79 #4F27AB #6A3CD3 #906EDE #B6A0EA

Accessibility & contrast

On white

6.56
#6A3CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#6A3CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3CD3
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3CD3#FFFFFF#000000##FFFFFF
##6A3CD31.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D7
Deuteranopia (green-blind)
#005AD0
Tritanopia (blue-blind)
#466484
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6a3cd3;
/* rgb */ color: rgb(106, 60, 211);
/* oklch */ color: oklch(50.3% 0.216 290.4);
Tailwind
colors: {
  custom: {
    50: '#9e76e2',
    500: '#6a3cd3',
    950: '#000000',
  },
}
SCSS
$custom: #6a3cd3;
$custom-light: #9e76e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3cd3",
  "rgb": {
    "r": 106,
    "g": 60,
    "b": 211
  },
  "hsl": {
    "h": 258.278,
    "s": 63.18,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50322,
    "c": 0.21616,
    "h": 290.4
  },
  "luminance": 0.10999
}

Semantic roles & 50–950 ramp

primary
#6A3CD3
secondary
#C2D695
accent
#E642B4
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#100915
muted
#7F7B84

Preview Lab

Preview with #6A3CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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