#6A3FA2#6A3FA2

#6A3FA2 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 46.9% C 0.154 H 300.6°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#6A3FA2
RGBrgb(106, 63, 162)
HSLhsl(266, 44%, 44%)
HSVhsv(266, 61%, 64%)
CMYKcmyk(34.6%, 61.1%, 0%, 36.5%)
CIE-LABlab(36.42, 39.62, -46.89)
CIE-LCHlch(36.42, 61.39, 310.20°)
OKLaboklab(46.88% 0.0786 -0.133)
OKLCHoklch(46.88% 0.154 300.6)
XYZxyz(14.2414, 9.2277, 35.2063)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3FA2 #77A23F
analogous
#3F45A2 #6A3FA2 #9C3FA2
triadic
#6A3FA2 #A26A3F #3FA26A
tetradic
#6A3FA2 #A23F45 #77A23F #3FA29C
square
#6A3FA2 #A23F45 #77A23F #3FA29C
split-complementary
#6A3FA2 #A29C3F #45A23F
monochromatic
#301D4A #4D2E76 #6A3FA2 #895EC0 #A98AD1

Accessibility & contrast

On white

7.38
#6A3FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6A3FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3FA2
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3FA2#FFFFFF#000000##FFFFFF
##6A3FA21.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0155A5
Deuteranopia (green-blind)
#1F55A0
Tritanopia (blue-blind)
#5E546A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6a3fa2;
/* rgb */ color: rgb(106, 63, 162);
/* oklch */ color: oklch(46.9% 0.154 300.6);
Tailwind
colors: {
  custom: {
    50: '#9876be',
    500: '#6a3fa2',
    950: '#000000',
  },
}
SCSS
$custom: #6a3fa2;
$custom-light: #9876be;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3fa2",
  "rgb": {
    "r": 106,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 266.061,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46883,
    "c": 0.15449,
    "h": 300.6
  },
  "luminance": 0.09228
}

Semantic roles & 50–950 ramp

primary
#6A3FA2
secondary
#A2BC81
accent
#D4549C
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0912
muted
#7E7B81

Preview Lab

Preview with #6A3FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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