#6E32B8#6E32B8

#6E32B8 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.3% C 0.198 H 299.0°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#6E32B8
RGBrgb(110, 50, 184)
HSLhsl(267, 57%, 46%)
HSVhsv(267, 73%, 72%)
CMYKcmyk(40.2%, 72.8%, 0%, 27.8%)
CIE-LABlab(36.09, 52.80, -60.51)
CIE-LCHlch(36.09, 80.30, 311.11°)
OKLaboklab(47.27% 0.0958 -0.1728)
OKLCHoklch(47.27% 0.198 299)
XYZxyz(16.2205, 9.0567, 46.2316)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E32B8 #7CB832
analogous
#3239B8 #6E32B8 #B132B8
triadic
#6E32B8 #B86E32 #32B86E
tetradic
#6E32B8 #B83239 #7CB832 #32B8B1
square
#6E32B8 #B83239 #7CB832 #32B8B1
split-complementary
#6E32B8 #B8B132 #39B832
monochromatic
#341858 #512588 #6E32B8 #8D56D1 #AE86DE

Accessibility & contrast

On white

7.47
#6E32B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6E32B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E32B8
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E32B8#FFFFFF#000000##FFFFFF
##6E32B81.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#5C5472
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6e32b8;
/* rgb */ color: rgb(110, 50, 184);
/* oklch */ color: oklch(47.3% 0.198 299.0);
Tailwind
colors: {
  custom: {
    50: '#9e6fce',
    500: '#6e32b8',
    950: '#000000',
  },
}
SCSS
$custom: #6e32b8;
$custom-light: #9e6fce;
$custom-dark: #000000;
JSON
{
  "hex": "#6e32b8",
  "rgb": {
    "r": 110,
    "g": 50,
    "b": 184
  },
  "hsl": {
    "h": 266.866,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47268,
    "c": 0.19759,
    "h": 299
  },
  "luminance": 0.09057
}

Semantic roles & 50–950 ramp

primary
#6E32B8
secondary
#A7C87E
accent
#E1479C
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6E32B8

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

Preview Lab → · Contrast checker → · Palette generator →

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