#6E32BB#6E32BB

#6E32BB is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.5% C 0.201 H 298.3°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#6E32BB
RGBrgb(110, 50, 187)
HSLhsl(266, 58%, 46%)
HSVhsv(266, 73%, 73%)
CMYKcmyk(41.2%, 73.3%, 0%, 26.7%)
CIE-LABlab(36.34, 53.55, -61.88)
CIE-LCHlch(36.34, 81.84, 310.87°)
OKLaboklab(47.52% 0.0951 -0.1769)
OKLCHoklch(47.52% 0.201 298.3)
XYZxyz(16.5383, 9.1838, 47.9054)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E32BB #7FBB32
analogous
#323BBB #6E32BB #B332BB
triadic
#6E32BB #BB6E32 #32BB6E
tetradic
#6E32BB #BB323B #7FBB32 #32BBB3
square
#6E32BB #BB323B #7FBB32 #32BBB3
split-complementary
#6E32BB #BBB332 #3BBB32
monochromatic
#35185A #52258B #6E32BB #8E58D2 #AE88DF

Accessibility & contrast

On white

7.40
#6E32BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6E32BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E32BB
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E32BB#FFFFFF#000000##FFFFFF
##6E32BB1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#5B5574
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6e32bb;
/* rgb */ color: rgb(110, 50, 187);
/* oklch */ color: oklch(47.5% 0.201 298.3);
Tailwind
colors: {
  custom: {
    50: '#9e70d0',
    500: '#6e32bb',
    950: '#000000',
  },
}
SCSS
$custom: #6e32bb;
$custom-light: #9e70d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e32bb",
  "rgb": {
    "r": 110,
    "g": 50,
    "b": 187
  },
  "hsl": {
    "h": 266.277,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47515,
    "c": 0.20083,
    "h": 298.3
  },
  "luminance": 0.09184
}

Semantic roles & 50–950 ramp

primary
#6E32BB
secondary
#A9C980
accent
#E1479D
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6E32BB

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

Preview Lab → · Contrast checker → · Palette generator →

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