#6F32B5#6F32B5

#6F32B5 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.1% C 0.195 H 300.2°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#6F32B5
RGBrgb(111, 50, 181)
HSLhsl(268, 57%, 45%)
HSVhsv(268, 72%, 71%)
CMYKcmyk(38.7%, 72.4%, 0%, 29%)
CIE-LABlab(35.98, 52.23, -58.91)
CIE-LCHlch(35.98, 78.73, 311.56°)
OKLaboklab(47.14% 0.0978 -0.1681)
OKLCHoklch(47.14% 0.195 300.2)
XYZxyz(16.0346, 8.9968, 44.5989)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F32B5 #78B532
analogous
#3236B5 #6F32B5 #B032B5
triadic
#6F32B5 #B56F32 #32B56F
tetradic
#6F32B5 #B53236 #78B532 #32B5B0
square
#6F32B5 #B53236 #78B532 #32B5B0
split-complementary
#6F32B5 #B5B032 #36B532
monochromatic
#341855 #522585 #6F32B5 #8E54D0 #AE84DD

Accessibility & contrast

On white

7.50
#6F32B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6F32B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F32B5
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F32B5#FFFFFF#000000##FFFFFF
##6F32B51.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#5F5270
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6f32b5;
/* rgb */ color: rgb(111, 50, 181);
/* oklch */ color: oklch(47.1% 0.195 300.2);
Tailwind
colors: {
  custom: {
    50: '#9e6fcc',
    500: '#6f32b5',
    950: '#000000',
  },
}
SCSS
$custom: #6f32b5;
$custom-light: #9e6fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#6f32b5",
  "rgb": {
    "r": 111,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 267.939,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47139,
    "c": 0.1945,
    "h": 300.2
  },
  "luminance": 0.08997
}

Semantic roles & 50–950 ramp

primary
#6F32B5
secondary
#A4C77C
accent
#E04899
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F32B5

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

Preview Lab → · Contrast checker → · Palette generator →

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