#6A3DA2#6A3DA2

#6A3DA2 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.6% C 0.157 H 301.0°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#6A3DA2
RGBrgb(106, 61, 162)
HSLhsl(267, 45%, 44%)
HSVhsv(267, 62%, 64%)
CMYKcmyk(34.6%, 62.3%, 0%, 36.5%)
CIE-LABlab(36.00, 40.73, -47.56)
CIE-LCHlch(36.00, 62.62, 310.58°)
OKLaboklab(46.58% 0.0811 -0.135)
OKLCHoklch(46.58% 0.157 301)
XYZxyz(14.1326, 9.0102, 35.1700)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3DA2 #75A23D
analogous
#3D42A2 #6A3DA2 #9C3DA2
triadic
#6A3DA2 #A26A3D #3DA26A
tetradic
#6A3DA2 #A23D42 #75A23D #3DA29C
square
#6A3DA2 #A23D42 #75A23D #3DA29C
split-complementary
#6A3DA2 #A29C3D #42A23D
monochromatic
#301C49 #4D2C76 #6A3DA2 #895BC1 #A987D2

Accessibility & contrast

On white

7.49
#6A3DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6A3DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3DA2
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3DA2#FFFFFF#000000##FFFFFF
##6A3DA21.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#1B54A0
Tritanopia (blue-blind)
#5E536A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6a3da2;
/* rgb */ color: rgb(106, 61, 162);
/* oklch */ color: oklch(46.6% 0.157 301.0);
Tailwind
colors: {
  custom: {
    50: '#9975be',
    500: '#6a3da2',
    950: '#000000',
  },
}
SCSS
$custom: #6a3da2;
$custom-light: #9975be;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3da2",
  "rgb": {
    "r": 106,
    "g": 61,
    "b": 162
  },
  "hsl": {
    "h": 266.733,
    "s": 45.291,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46581,
    "c": 0.15744,
    "h": 301
  },
  "luminance": 0.0901
}

Semantic roles & 50–950 ramp

primary
#6A3DA2
secondary
#A1BC7E
accent
#D5539B
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6A3DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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