#6F32AA#6F32AA

#6F32AA is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.3% C 0.183 H 303.1°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#6F32AA
RGBrgb(111, 50, 170)
HSLhsl(271, 55%, 43%)
HSVhsv(271, 71%, 67%)
CMYKcmyk(34.7%, 70.6%, 0%, 33.3%)
CIE-LABlab(35.13, 49.52, -53.75)
CIE-LCHlch(35.13, 73.08, 312.66°)
OKLaboklab(46.27% 0.0998 -0.1529)
OKLCHoklch(46.27% 0.183 303.1)
XYZxyz(14.9502, 8.5630, 38.8876)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F32AA #6DAA32
analogous
#3332AA #6F32AA #AA32A9
triadic
#6F32AA #AA6F32 #32AA6F
tetradic
#6F32AA #AA3332 #6DAA32 #32A9AA
square
#6F32AA #AA3332 #6DAA32 #32A9AA
split-complementary
#6F32AA #A9AA32 #32AA33
monochromatic
#31164B #50247B #6F32AA #8E4ECB #AC7DD9

Accessibility & contrast

On white

7.74
#6F32AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6F32AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F32AA
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F32AA#FFFFFF#000000##FFFFFF
##6F32AA1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#0052A7
Tritanopia (blue-blind)
#634E6A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6f32aa;
/* rgb */ color: rgb(111, 50, 170);
/* oklch */ color: oklch(46.3% 0.183 303.1);
Tailwind
colors: {
  custom: {
    50: '#9d6fc4',
    500: '#6f32aa',
    950: '#000000',
  },
}
SCSS
$custom: #6f32aa;
$custom-light: #9d6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f32aa",
  "rgb": {
    "r": 111,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 270.5,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4627,
    "c": 0.1826,
    "h": 303.1
  },
  "luminance": 0.08563
}

Semantic roles & 50–950 ramp

primary
#6F32AA
secondary
#9BC276
accent
#DE4A93
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F32AA

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

Preview Lab → · Contrast checker → · Palette generator →

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