#6A3CD5#6A3CD5

#6A3CD5 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.5% C 0.218 H 290.0°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#6A3CD5
RGBrgb(106, 60, 213)
HSLhsl(258, 65%, 54%)
HSVhsv(258, 72%, 84%)
CMYKcmyk(50.2%, 71.8%, 0%, 16.5%)
CIE-LABlab(39.75, 54.94, -71.46)
CIE-LCHlch(39.75, 90.14, 307.55°)
OKLaboklab(50.49% 0.0749 -0.2052)
OKLCHoklch(50.49% 0.218 290)
XYZxyz(19.5665, 11.0992, 64.0493)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3CD5 #A7D53C
analogous
#3C5AD5 #6A3CD5 #B63CD5
triadic
#6A3CD5 #D56A3C #3CD56A
tetradic
#6A3CD5 #D53C5A #A7D53C #3CD5B6
square
#6A3CD5 #D53C5A #A7D53C #3CD5B6
split-complementary
#6A3CD5 #D5B63C #5AD53C
monochromatic
#381B7C #4F26AE #6A3CD5 #906EE0 #B7A1EB

Accessibility & contrast

On white

6.52
#6A3CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#6A3CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3CD5
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3CD5#FFFFFF#000000##FFFFFF
##6A3CD51.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D9
Deuteranopia (green-blind)
#005AD2
Tritanopia (blue-blind)
#446585
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6a3cd5;
/* rgb */ color: rgb(106, 60, 213);
/* oklch */ color: oklch(50.5% 0.218 290.0);
Tailwind
colors: {
  custom: {
    50: '#9e76e3',
    500: '#6a3cd5',
    950: '#000000',
  },
}
SCSS
$custom: #6a3cd5;
$custom-light: #9e76e3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3cd5",
  "rgb": {
    "r": 106,
    "g": 60,
    "b": 213
  },
  "hsl": {
    "h": 258.039,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50494,
    "c": 0.21843,
    "h": 290
  },
  "luminance": 0.111
}

Semantic roles & 50–950 ramp

primary
#6A3CD5
secondary
#C3D796
accent
#E840B5
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6A3CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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