#6F32B2#6F32B2

#6F32B2 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.9% C 0.191 H 301.0°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#6F32B2
RGBrgb(111, 50, 178)
HSLhsl(269, 56%, 45%)
HSVhsv(269, 72%, 70%)
CMYKcmyk(37.6%, 71.9%, 0%, 30.2%)
CIE-LABlab(35.74, 51.49, -57.52)
CIE-LCHlch(35.74, 77.20, 311.83°)
OKLaboklab(46.9% 0.0984 -0.164)
OKLCHoklch(46.9% 0.191 301)
XYZxyz(15.7301, 8.8750, 42.9952)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F32B2 #75B232
analogous
#3235B2 #6F32B2 #AF32B2
triadic
#6F32B2 #B26F32 #32B26F
tetradic
#6F32B2 #B23235 #75B232 #32B2AF
square
#6F32B2 #B23235 #75B232 #32B2AF
split-complementary
#6F32B2 #B2AF32 #35B232
monochromatic
#331752 #512582 #6F32B2 #8E53CF #AD82DC

Accessibility & contrast

On white

7.57
#6F32B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6F32B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F32B2
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F32B2#FFFFFF#000000##FFFFFF
##6F32B21.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#60516F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6f32b2;
/* rgb */ color: rgb(111, 50, 178);
/* oklch */ color: oklch(46.9% 0.191 301.0);
Tailwind
colors: {
  custom: {
    50: '#9e6fca',
    500: '#6f32b2',
    950: '#000000',
  },
}
SCSS
$custom: #6f32b2;
$custom-light: #9e6fca;
$custom-dark: #000000;
JSON
{
  "hex": "#6f32b2",
  "rgb": {
    "r": 111,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 268.594,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46898,
    "c": 0.19127,
    "h": 301
  },
  "luminance": 0.08875
}

Semantic roles & 50–950 ramp

primary
#6F32B2
secondary
#A2C57B
accent
#DF4897
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F32B2

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

Preview Lab → · Contrast checker → · Palette generator →

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