#6A3BAD#6A3BAD

#6A3BAD is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.1% C 0.173 H 298.4°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#6A3BAD
RGBrgb(106, 59, 173)
HSLhsl(265, 49%, 45%)
HSVhsv(265, 66%, 68%)
CMYKcmyk(38.7%, 65.9%, 0%, 32.2%)
CIE-LABlab(36.38, 44.70, -53.53)
CIE-LCHlch(36.38, 69.74, 309.86°)
OKLaboklab(47.1% 0.0825 -0.1525)
OKLCHoklch(47.1% 0.173 298.4)
XYZxyz(15.0487, 9.2090, 40.5117)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3BAD #7EAD3B
analogous
#3B45AD #6A3BAD #A33BAD
triadic
#6A3BAD #AD6A3B #3BAD6A
tetradic
#6A3BAD #AD3B45 #7EAD3B #3BADA3
square
#6A3BAD #AD3B45 #7EAD3B #3BADA3
split-complementary
#6A3BAD #ADA33B #45AD3B
monochromatic
#321C52 #4E2B7F #6A3BAD #895DC8 #AA8BD7

Accessibility & contrast

On white

7.39
#6A3BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6A3BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3BAD
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3BAD#FFFFFF#000000##FFFFFF
##6A3BAD1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#0054AB
Tritanopia (blue-blind)
#5A556F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6a3bad;
/* rgb */ color: rgb(106, 59, 173);
/* oklch */ color: oklch(47.1% 0.173 298.4);
Tailwind
colors: {
  custom: {
    50: '#9a74c6',
    500: '#6a3bad',
    950: '#000000',
  },
}
SCSS
$custom: #6a3bad;
$custom-light: #9a74c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3bad",
  "rgb": {
    "r": 106,
    "g": 59,
    "b": 173
  },
  "hsl": {
    "h": 264.737,
    "s": 49.138,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47103,
    "c": 0.17341,
    "h": 298.4
  },
  "luminance": 0.09209
}

Semantic roles & 50–950 ramp

primary
#6A3BAD
secondary
#A8C282
accent
#D94FA0
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6A3BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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