#6E52AE#6E52AE

#6E52AE is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.2% C 0.141 H 295.0°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#6E52AE
RGBrgb(110, 82, 174)
HSLhsl(258, 36%, 50%)
HSVhsv(258, 53%, 68%)
CMYKcmyk(36.8%, 52.9%, 0%, 31.8%)
CIE-LABlab(41.85, 32.82, -45.30)
CIE-LCHlch(41.85, 55.94, 305.92°)
OKLaboklab(51.23% 0.0597 -0.1282)
OKLCHoklch(51.23% 0.141 295)
XYZxyz(17.0857, 12.4053, 41.5305)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E52AE #92AE52
analogous
#5264AE #6E52AE #9C52AE
triadic
#6E52AE #AE6E52 #52AE6E
tetradic
#6E52AE #AE5264 #92AE52 #52AE9C
square
#6E52AE #AE5264 #92AE52 #52AE9C
split-complementary
#6E52AE #AE9C52 #64AE52
monochromatic
#392B5B #543E85 #6E52AE #917CC2 #B4A5D5

Accessibility & contrast

On white

6.03
#6E52AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#6E52AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E52AE
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E52AE#FFFFFF#000000##FFFFFF
##6E52AE1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D64B1
Deuteranopia (green-blind)
#3361AC
Tritanopia (blue-blind)
#5F6578
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6e52ae;
/* rgb */ color: rgb(110, 82, 174);
/* oklch */ color: oklch(51.2% 0.141 295.0);
Tailwind
colors: {
  custom: {
    50: '#9b83c7',
    500: '#6e52ae',
    950: '#000000',
  },
}
SCSS
$custom: #6e52ae;
$custom-light: #9b83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e52ae",
  "rgb": {
    "r": 110,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 258.261,
    "s": 36.22,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51229,
    "c": 0.14143,
    "h": 295
  },
  "luminance": 0.12406
}

Semantic roles & 50–950 ramp

primary
#6E52AE
secondary
#B6C299
accent
#CC5CAA
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #6E52AE

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

Preview Lab → · Contrast checker → · Palette generator →

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