#6F32A2#6F32A2

#6F32A2 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.7% C 0.174 H 305.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#6F32A2
RGBrgb(111, 50, 162)
HSLhsl(273, 53%, 42%)
HSVhsv(273, 69%, 64%)
CMYKcmyk(31.5%, 69.1%, 0%, 36.5%)
CIE-LABlab(34.54, 47.58, -49.90)
CIE-LCHlch(34.54, 68.94, 313.63°)
OKLaboklab(45.66% 0.1009 -0.1416)
OKLCHoklch(45.66% 0.174 305.5)
XYZxyz(14.2163, 8.2694, 35.0226)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F32A2 #65A232
analogous
#3732A2 #6F32A2 #A2329D
triadic
#6F32A2 #A26F32 #32A26F
tetradic
#6F32A2 #A23732 #65A232 #329DA2
square
#6F32A2 #A23732 #65A232 #329DA2
split-complementary
#6F32A2 #9DA232 #32A237
monochromatic
#2F1544 #4F2473 #6F32A2 #8E4AC7 #AB79D6

Accessibility & contrast

On white

7.91
#6F32A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6F32A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F32A2
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F32A2#FFFFFF#000000##FFFFFF
##6F32A21.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#0B51A0
Tritanopia (blue-blind)
#664B66
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6f32a2;
/* rgb */ color: rgb(111, 50, 162);
/* oklch */ color: oklch(45.7% 0.174 305.5);
Tailwind
colors: {
  custom: {
    50: '#9d6fbe',
    500: '#6f32a2',
    950: '#000000',
  },
}
SCSS
$custom: #6f32a2;
$custom-light: #9d6fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6f32a2",
  "rgb": {
    "r": 111,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 272.679,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45661,
    "c": 0.1739,
    "h": 305.5
  },
  "luminance": 0.08269
}

Semantic roles & 50–950 ramp

primary
#6F32A2
secondary
#94BE72
accent
#DC4C8D
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F32A2

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

Preview Lab → · Contrast checker → · Palette generator →

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