#6A3CD2#6A3CD2

#6A3CD2 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.2% C 0.215 H 290.5°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#6A3CD2
RGBrgb(106, 60, 210)
HSLhsl(258, 63%, 53%)
HSVhsv(258, 71%, 82%)
CMYKcmyk(49.5%, 71.4%, 0%, 17.6%)
CIE-LABlab(39.49, 54.13, -70.15)
CIE-LCHlch(39.49, 88.60, 307.65°)
OKLaboklab(50.24% 0.0755 -0.2013)
OKLCHoklch(50.24% 0.215 290.5)
XYZxyz(19.1893, 10.9483, 62.0624)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3CD2 #A4D23C
analogous
#3C59D2 #6A3CD2 #B53CD2
triadic
#6A3CD2 #D26A3C #3CD26A
tetradic
#6A3CD2 #D23C59 #A4D23C #3CD2B5
square
#6A3CD2 #D23C59 #A4D23C #3CD2B5
split-complementary
#6A3CD2 #D2B53C #59D23C
monochromatic
#381C78 #4F27AA #6A3CD2 #906EDD #B69FE9

Accessibility & contrast

On white

6.58
#6A3CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#6A3CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3CD2
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3CD2#FFFFFF#000000##FFFFFF
##6A3CD21.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D6
Deuteranopia (green-blind)
#005ACF
Tritanopia (blue-blind)
#476383
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6a3cd2;
/* rgb */ color: rgb(106, 60, 210);
/* oklch */ color: oklch(50.2% 0.215 290.5);
Tailwind
colors: {
  custom: {
    50: '#9e76e1',
    500: '#6a3cd2',
    950: '#000000',
  },
}
SCSS
$custom: #6a3cd2;
$custom-light: #9e76e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3cd2",
  "rgb": {
    "r": 106,
    "g": 60,
    "b": 210
  },
  "hsl": {
    "h": 258.4,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50236,
    "c": 0.21503,
    "h": 290.5
  },
  "luminance": 0.10949
}

Semantic roles & 50–950 ramp

primary
#6A3CD2
secondary
#C1D594
accent
#E642B3
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A3CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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