#6F32B9#6F32B9

#6F32B9 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.5% C 0.199 H 299.2°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#6F32B9
RGBrgb(111, 50, 185)
HSLhsl(267, 57%, 46%)
HSVhsv(267, 73%, 73%)
CMYKcmyk(40%, 73%, 0%, 27.5%)
CIE-LABlab(36.30, 53.23, -60.76)
CIE-LCHlch(36.30, 80.78, 311.22°)
OKLaboklab(47.46% 0.097 -0.1735)
OKLCHoklch(47.46% 0.199 299.2)
XYZxyz(16.4509, 9.1633, 46.7915)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F32B9 #7CB932
analogous
#3238B9 #6F32B9 #B232B9
triadic
#6F32B9 #B96F32 #32B96F
tetradic
#6F32B9 #B93238 #7CB932 #32B9B2
square
#6F32B9 #B93238 #7CB932 #32B9B2
split-complementary
#6F32B9 #B9B232 #38B932
monochromatic
#351859 #522589 #6F32B9 #8E57D2 #AE87DF

Accessibility & contrast

On white

7.41
#6F32B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6F32B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F32B9
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F32B9#FFFFFF#000000##FFFFFF
##6F32B91.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#0054B6
Tritanopia (blue-blind)
#5D5473
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6f32b9;
/* rgb */ color: rgb(111, 50, 185);
/* oklch */ color: oklch(47.5% 0.199 299.2);
Tailwind
colors: {
  custom: {
    50: '#9f70cf',
    500: '#6f32b9',
    950: '#000000',
  },
}
SCSS
$custom: #6f32b9;
$custom-light: #9f70cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6f32b9",
  "rgb": {
    "r": 111,
    "g": 50,
    "b": 185
  },
  "hsl": {
    "h": 267.111,
    "s": 57.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47464,
    "c": 0.19881,
    "h": 299.2
  },
  "luminance": 0.09163
}

Semantic roles & 50–950 ramp

primary
#6F32B9
secondary
#A7C87F
accent
#E1479B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6F32B9

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

Preview Lab → · Contrast checker → · Palette generator →

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