#6E32B5#6E32B5

#6E32B5 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.0% C 0.194 H 299.7°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#6E32B5
RGBrgb(110, 50, 181)
HSLhsl(267, 57%, 45%)
HSVhsv(267, 72%, 71%)
CMYKcmyk(39.2%, 72.4%, 0%, 29%)
CIE-LABlab(35.85, 52.05, -59.12)
CIE-LCHlch(35.85, 78.77, 311.36°)
OKLaboklab(47.02% 0.0964 -0.1688)
OKLCHoklch(47.02% 0.194 299.7)
XYZxyz(15.9094, 8.9322, 44.5930)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E32B5 #79B532
analogous
#3237B5 #6E32B5 #AF32B5
triadic
#6E32B5 #B56E32 #32B56E
tetradic
#6E32B5 #B53237 #79B532 #32B5AF
square
#6E32B5 #B53237 #79B532 #32B5AF
split-complementary
#6E32B5 #B5AF32 #37B532
monochromatic
#341855 #512585 #6E32B5 #8D54D0 #AD84DD

Accessibility & contrast

On white

7.54
#6E32B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E32B5
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E32B5#FFFFFF#000000##FFFFFF
##6E32B51.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#5E5370
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6e32b5;
/* rgb */ color: rgb(110, 50, 181);
/* oklch */ color: oklch(47.0% 0.194 299.7);
Tailwind
colors: {
  custom: {
    50: '#9e6fcc',
    500: '#6e32b5',
    950: '#000000',
  },
}
SCSS
$custom: #6e32b5;
$custom-light: #9e6fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#6e32b5",
  "rgb": {
    "r": 110,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 267.481,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47023,
    "c": 0.19435,
    "h": 299.7
  },
  "luminance": 0.08932
}

Semantic roles & 50–950 ramp

primary
#6E32B5
secondary
#A5C77C
accent
#E0489A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6E32B5

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

Preview Lab → · Contrast checker → · Palette generator →

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