#6F32B1#6F32B1

#6F32B1 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.8% C 0.190 H 301.2°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#6F32B1
RGBrgb(111, 50, 177)
HSLhsl(269, 56%, 45%)
HSVhsv(269, 72%, 69%)
CMYKcmyk(37.3%, 71.8%, 0%, 30.6%)
CIE-LABlab(35.66, 51.24, -57.05)
CIE-LCHlch(35.66, 76.68, 311.93°)
OKLaboklab(46.82% 0.0986 -0.1626)
OKLCHoklch(46.82% 0.19 301.2)
XYZxyz(15.6300, 8.8349, 42.4683)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F32B1 #74B132
analogous
#3235B1 #6F32B1 #AF32B1
triadic
#6F32B1 #B16F32 #32B16F
tetradic
#6F32B1 #B13235 #74B132 #32B1AF
square
#6F32B1 #B13235 #74B132 #32B1AF
split-complementary
#6F32B1 #B1AF32 #35B132
monochromatic
#331752 #512581 #6F32B1 #8E52CE #AD82DC

Accessibility & contrast

On white

7.59
#6F32B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F32B1
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F32B1#FFFFFF#000000##FFFFFF
##6F32B11.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#0053AE
Tritanopia (blue-blind)
#61516E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6f32b1;
/* rgb */ color: rgb(111, 50, 177);
/* oklch */ color: oklch(46.8% 0.190 301.2);
Tailwind
colors: {
  custom: {
    50: '#9e6fc9',
    500: '#6f32b1',
    950: '#000000',
  },
}
SCSS
$custom: #6f32b1;
$custom-light: #9e6fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f32b1",
  "rgb": {
    "r": 111,
    "g": 50,
    "b": 177
  },
  "hsl": {
    "h": 268.819,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46819,
    "c": 0.19018,
    "h": 301.2
  },
  "luminance": 0.08835
}

Semantic roles & 50–950 ramp

primary
#6F32B1
secondary
#A1C57A
accent
#DF4997
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F32B1

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

Preview Lab → · Contrast checker → · Palette generator →

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