#6F32AC#6F32AC

#6F32AC is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.185 H 302.6°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#6F32AC
RGBrgb(111, 50, 172)
HSLhsl(270, 55%, 44%)
HSVhsv(270, 71%, 67%)
CMYKcmyk(35.5%, 70.9%, 0%, 32.5%)
CIE-LABlab(35.28, 50.01, -54.70)
CIE-LCHlch(35.28, 74.11, 312.44°)
OKLaboklab(46.43% 0.0994 -0.1557)
OKLCHoklch(46.43% 0.185 302.6)
XYZxyz(15.1408, 8.6392, 39.8916)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F32AC #6FAC32
analogous
#3232AC #6F32AC #AC32AC
triadic
#6F32AC #AC6F32 #32AC6F
tetradic
#6F32AC #AC3232 #6FAC32 #32ACAC
square
#6F32AC #AC3232 #6FAC32 #32ACAC
split-complementary
#6F32AC #ACAC32 #32AC32
monochromatic
#32164D #50247D #6F32AC #8E4FCC #AC7FDA

Accessibility & contrast

On white

7.70
#6F32AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6F32AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F32AC
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F32AC#FFFFFF#000000##FFFFFF
##6F32AC1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#624F6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6f32ac;
/* rgb */ color: rgb(111, 50, 172);
/* oklch */ color: oklch(46.4% 0.185 302.6);
Tailwind
colors: {
  custom: {
    50: '#9d6fc6',
    500: '#6f32ac',
    950: '#000000',
  },
}
SCSS
$custom: #6f32ac;
$custom-light: #9d6fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f32ac",
  "rgb": {
    "r": 111,
    "g": 50,
    "b": 172
  },
  "hsl": {
    "h": 270,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46425,
    "c": 0.18477,
    "h": 302.6
  },
  "luminance": 0.08639
}

Semantic roles & 50–950 ramp

primary
#6F32AC
secondary
#9DC377
accent
#DE4A94
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F32AC

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

Preview Lab → · Contrast checker → · Palette generator →

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