#6F32B4#6F32B4

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

Color values

HEX#6F32B4
RGBrgb(111, 50, 180)
HSLhsl(268, 57%, 45%)
HSVhsv(268, 72%, 71%)
CMYKcmyk(38.3%, 72.2%, 0%, 29.4%)
CIE-LABlab(35.90, 51.98, -58.45)
CIE-LCHlch(35.90, 78.22, 311.65°)
OKLaboklab(47.06% 0.098 -0.1668)
OKLCHoklch(47.06% 0.193 300.4)
XYZxyz(15.9323, 8.9559, 44.0604)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F32B4 #77B432
analogous
#3236B4 #6F32B4 #B032B4
triadic
#6F32B4 #B46F32 #32B46F
tetradic
#6F32B4 #B43236 #77B432 #32B4B0
square
#6F32B4 #B43236 #77B432 #32B4B0
split-complementary
#6F32B4 #B4B032 #36B432
monochromatic
#341754 #512584 #6F32B4 #8E54CF #AD84DD

Accessibility & contrast

On white

7.52
#6F32B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6F32B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F32B4
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F32B4#FFFFFF#000000##FFFFFF
##6F32B41.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#5F5270
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6f32b4;
/* rgb */ color: rgb(111, 50, 180);
/* oklch */ color: oklch(47.1% 0.193 300.4);
Tailwind
colors: {
  custom: {
    50: '#9e6fcb',
    500: '#6f32b4',
    950: '#000000',
  },
}
SCSS
$custom: #6f32b4;
$custom-light: #9e6fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6f32b4",
  "rgb": {
    "r": 111,
    "g": 50,
    "b": 180
  },
  "hsl": {
    "h": 268.154,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47058,
    "c": 0.19343,
    "h": 300.4
  },
  "luminance": 0.08956
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6F32B4

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

Preview Lab → · Contrast checker → · Palette generator →

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