#6A3AC5#6A3AC5

#6A3AC5 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 48.9% C 0.203 H 293.2°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#6A3AC5
RGBrgb(106, 58, 197)
HSLhsl(261, 55%, 50%)
HSVhsv(261, 71%, 77%)
CMYKcmyk(46.2%, 70.6%, 0%, 22.7%)
CIE-LABlab(38.06, 51.61, -64.95)
CIE-LCHlch(38.06, 82.96, 308.47°)
OKLaboklab(48.88% 0.0799 -0.1861)
OKLCHoklch(48.88% 0.203 293.2)
XYZxyz(17.5322, 10.1210, 53.8423)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3AC5 #95C53A
analogous
#3A50C5 #6A3AC5 #AF3AC5
triadic
#6A3AC5 #C56A3A #3AC56A
tetradic
#6A3AC5 #C53A50 #95C53A #3AC5AF
square
#6A3AC5 #C53A50 #95C53A #3AC5AF
split-complementary
#6A3AC5 #C5AF3A #50C53A
monochromatic
#371E66 #512C96 #6A3AC5 #8E69D3 #B299E1

Accessibility & contrast

On white

6.94
#6A3AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#6A3AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3AC5
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3AC5#FFFFFF#000000##FFFFFF
##6A3AC51.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC9
Deuteranopia (green-blind)
#0057C2
Tritanopia (blue-blind)
#4F5D7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6a3ac5;
/* rgb */ color: rgb(106, 58, 197);
/* oklch */ color: oklch(48.9% 0.203 293.2);
Tailwind
colors: {
  custom: {
    50: '#9c74d8',
    500: '#6a3ac5',
    950: '#000000',
  },
}
SCSS
$custom: #6a3ac5;
$custom-light: #9c74d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3ac5",
  "rgb": {
    "r": 106,
    "g": 58,
    "b": 197
  },
  "hsl": {
    "h": 260.719,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.48884,
    "c": 0.2025,
    "h": 293.2
  },
  "luminance": 0.10122
}

Semantic roles & 50–950 ramp

primary
#6A3AC5
secondary
#B7CD8E
accent
#DE4AAB
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6A3AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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