#6F32A4#6F32A4

#6F32A4 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.176 H 304.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#6F32A4
RGBrgb(111, 50, 164)
HSLhsl(272, 53%, 42%)
HSVhsv(272, 70%, 64%)
CMYKcmyk(32.3%, 69.5%, 0%, 35.7%)
CIE-LABlab(34.68, 48.06, -50.87)
CIE-LCHlch(34.68, 69.98, 313.37°)
OKLaboklab(45.81% 0.1006 -0.1445)
OKLCHoklch(45.81% 0.176 304.9)
XYZxyz(14.3955, 8.3411, 35.9664)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F32A4 #67A432
analogous
#3632A4 #6F32A4 #A432A0
triadic
#6F32A4 #A46F32 #32A46F
tetradic
#6F32A4 #A43632 #67A432 #32A0A4
square
#6F32A4 #A43632 #67A432 #32A0A4
split-complementary
#6F32A4 #A0A432 #32A436
monochromatic
#301546 #4F2475 #6F32A4 #8E4BC8 #AB7AD6

Accessibility & contrast

On white

7.87
#6F32A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6F32A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F32A4
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F32A4#FFFFFF#000000##FFFFFF
##6F32A41.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#0452A2
Tritanopia (blue-blind)
#654C67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6f32a4;
/* rgb */ color: rgb(111, 50, 164);
/* oklch */ color: oklch(45.8% 0.176 304.9);
Tailwind
colors: {
  custom: {
    50: '#9d6fc0',
    500: '#6f32a4',
    950: '#000000',
  },
}
SCSS
$custom: #6f32a4;
$custom-light: #9d6fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f32a4",
  "rgb": {
    "r": 111,
    "g": 50,
    "b": 164
  },
  "hsl": {
    "h": 272.105,
    "s": 53.271,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45811,
    "c": 0.17608,
    "h": 304.9
  },
  "luminance": 0.08341
}

Semantic roles & 50–950 ramp

primary
#6F32A4
secondary
#96BF73
accent
#DD4B8F
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #6F32A4

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

Preview Lab → · Contrast checker → · Palette generator →

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