#6A32AF#6A32AF

#6A32AF is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.187 H 299.4°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#6A32AF
RGBrgb(106, 50, 175)
HSLhsl(267, 56%, 44%)
HSVhsv(267, 71%, 69%)
CMYKcmyk(39.4%, 71.4%, 0%, 31.4%)
CIE-LABlab(34.88, 49.79, -57.16)
CIE-LCHlch(34.88, 75.81, 311.06°)
OKLaboklab(46.08% 0.0918 -0.1631)
OKLCHoklch(46.08% 0.187 299.4)
XYZxyz(14.8204, 8.4403, 41.3975)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A32AF #77AF32
analogous
#3239AF #6A32AF #A932AF
triadic
#6A32AF #AF6A32 #32AF6A
tetradic
#6A32AF #AF3239 #77AF32 #32AFA9
square
#6A32AF #AF3239 #77AF32 #32AFA9
split-complementary
#6A32AF #AFA932 #39AF32
monochromatic
#301750 #4D247F #6A32AF #8951CD #A981DB

Accessibility & contrast

On white

7.81
#6A32AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6A32AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A32AF
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A32AF#FFFFFF#000000##FFFFFF
##6A32AF1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#5A516D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6a32af;
/* rgb */ color: rgb(106, 50, 175);
/* oklch */ color: oklch(46.1% 0.187 299.4);
Tailwind
colors: {
  custom: {
    50: '#9a6fc8',
    500: '#6a32af',
    950: '#000000',
  },
}
SCSS
$custom: #6a32af;
$custom-light: #9a6fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a32af",
  "rgb": {
    "r": 106,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 266.88,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46077,
    "c": 0.18719,
    "h": 299.4
  },
  "luminance": 0.08441
}

Semantic roles & 50–950 ramp

primary
#6A32AF
secondary
#A2C479
accent
#DF499C
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6A32AF

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

Preview Lab → · Contrast checker → · Palette generator →

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