#6E32B3#6E32B3

#6E32B3 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.9% C 0.192 H 300.2°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#6E32B3
RGBrgb(110, 50, 179)
HSLhsl(268, 56%, 45%)
HSVhsv(268, 72%, 70%)
CMYKcmyk(38.5%, 72.1%, 0%, 29.8%)
CIE-LABlab(35.70, 51.55, -58.19)
CIE-LCHlch(35.70, 77.74, 311.54°)
OKLaboklab(46.86% 0.0968 -0.166)
OKLCHoklch(46.86% 0.192 300.2)
XYZxyz(15.7057, 8.8507, 43.5200)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E32B3 #77B332
analogous
#3236B3 #6E32B3 #AF32B3
triadic
#6E32B3 #B36E32 #32B36E
tetradic
#6E32B3 #B33236 #77B332 #32B3AF
square
#6E32B3 #B33236 #77B332 #32B3AF
split-complementary
#6E32B3 #B3AF32 #36B332
monochromatic
#331753 #512583 #6E32B3 #8D53CF #AD83DC

Accessibility & contrast

On white

7.58
#6E32B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6E32B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E32B3
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E32B3#FFFFFF#000000##FFFFFF
##6E32B31.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#5E526F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6e32b3;
/* rgb */ color: rgb(110, 50, 179);
/* oklch */ color: oklch(46.9% 0.192 300.2);
Tailwind
colors: {
  custom: {
    50: '#9d6fcb',
    500: '#6e32b3',
    950: '#000000',
  },
}
SCSS
$custom: #6e32b3;
$custom-light: #9d6fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e32b3",
  "rgb": {
    "r": 110,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 267.907,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46862,
    "c": 0.19219,
    "h": 300.2
  },
  "luminance": 0.08851
}

Semantic roles & 50–950 ramp

primary
#6E32B3
secondary
#A3C67B
accent
#E04899
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6E32B3

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

Preview Lab → · Contrast checker → · Palette generator →

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