#6F32B6#6F32B6

#6F32B6 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.2% C 0.196 H 299.9°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#6F32B6
RGBrgb(111, 50, 182)
HSLhsl(268, 57%, 45%)
HSVhsv(268, 73%, 71%)
CMYKcmyk(39%, 72.5%, 0%, 28.6%)
CIE-LABlab(36.06, 52.48, -59.38)
CIE-LCHlch(36.06, 79.25, 311.47°)
OKLaboklab(47.22% 0.0976 -0.1695)
OKLCHoklch(47.22% 0.196 299.9)
XYZxyz(16.1375, 9.0379, 45.1412)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F32B6 #79B632
analogous
#3237B6 #6F32B6 #B132B6
triadic
#6F32B6 #B66F32 #32B66F
tetradic
#6F32B6 #B63237 #79B632 #32B6B1
square
#6F32B6 #B63237 #79B632 #32B6B1
split-complementary
#6F32B6 #B6B132 #37B632
monochromatic
#341856 #522586 #6F32B6 #8E55D0 #AE85DD

Accessibility & contrast

On white

7.48
#6F32B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6F32B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F32B6
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F32B6#FFFFFF#000000##FFFFFF
##6F32B61.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#5F5371
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6f32b6;
/* rgb */ color: rgb(111, 50, 182);
/* oklch */ color: oklch(47.2% 0.196 299.9);
Tailwind
colors: {
  custom: {
    50: '#9e6fcd',
    500: '#6f32b6',
    950: '#000000',
  },
}
SCSS
$custom: #6f32b6;
$custom-light: #9e6fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#6f32b6",
  "rgb": {
    "r": 111,
    "g": 50,
    "b": 182
  },
  "hsl": {
    "h": 267.727,
    "s": 56.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4722,
    "c": 0.19558,
    "h": 299.9
  },
  "luminance": 0.09038
}

Semantic roles & 50–950 ramp

primary
#6F32B6
secondary
#A5C77D
accent
#E0489A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6F32B6

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

Preview Lab → · Contrast checker → · Palette generator →

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