#6D52AE#6D52AE

#6D52AE is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.1% C 0.141 H 294.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#6D52AE
RGBrgb(109, 82, 174)
HSLhsl(258, 36%, 50%)
HSVhsv(258, 53%, 68%)
CMYKcmyk(37.4%, 52.9%, 0%, 31.8%)
CIE-LABlab(41.75, 32.56, -45.46)
CIE-LCHlch(41.75, 55.92, 305.61°)
OKLaboklab(51.13% 0.0584 -0.1287)
OKLCHoklch(51.13% 0.141 294.4)
XYZxyz(16.9620, 12.3414, 41.5247)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D52AE #93AE52
analogous
#5265AE #6D52AE #9B52AE
triadic
#6D52AE #AE6D52 #52AE6D
tetradic
#6D52AE #AE5265 #93AE52 #52AE9B
square
#6D52AE #AE5265 #93AE52 #52AE9B
split-complementary
#6D52AE #AE9B52 #65AE52
monochromatic
#392B5B #533E85 #6D52AE #907CC2 #B3A5D5

Accessibility & contrast

On white

6.05
#6D52AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#6D52AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D52AE
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D52AE#FFFFFF#000000##FFFFFF
##6D52AE1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C63B1
Deuteranopia (green-blind)
#3261AC
Tritanopia (blue-blind)
#5D6578
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6d52ae;
/* rgb */ color: rgb(109, 82, 174);
/* oklch */ color: oklch(51.1% 0.141 294.4);
Tailwind
colors: {
  custom: {
    50: '#9a83c7',
    500: '#6d52ae',
    950: '#000000',
  },
}
SCSS
$custom: #6d52ae;
$custom-light: #9a83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d52ae",
  "rgb": {
    "r": 109,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 257.609,
    "s": 36.22,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51131,
    "c": 0.14135,
    "h": 294.4
  },
  "luminance": 0.12342
}

Semantic roles & 50–950 ramp

primary
#6D52AE
secondary
#B6C299
accent
#CC5CAB
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6D52AE

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

Preview Lab → · Contrast checker → · Palette generator →

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