#6D52AF#6D52AF

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

Color values

HEX#6D52AF
RGBrgb(109, 82, 175)
HSLhsl(257, 37%, 50%)
HSVhsv(257, 53%, 69%)
CMYKcmyk(37.7%, 53.1%, 0%, 31.4%)
CIE-LABlab(41.81, 32.84, -45.95)
CIE-LCHlch(41.81, 56.48, 305.55°)
OKLaboklab(51.2% 0.0584 -0.1302)
OKLCHoklch(51.2% 0.143 294.2)
XYZxyz(17.0598, 12.3806, 42.0400)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D52AF #94AF52
analogous
#5265AF #6D52AF #9B52AF
triadic
#6D52AF #AF6D52 #52AF6D
tetradic
#6D52AF #AF5265 #94AF52 #52AF9B
square
#6D52AF #AF5265 #94AF52 #52AF9B
split-complementary
#6D52AF #AF9B52 #65AF52
monochromatic
#392B5C #533E86 #6D52AF #907CC2 #B4A6D6

Accessibility & contrast

On white

6.04
#6D52AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6D52AF
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D52AF#FFFFFF#000000##FFFFFF
##6D52AF1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B64B2
Deuteranopia (green-blind)
#3161AD
Tritanopia (blue-blind)
#5D6578
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6d52af;
/* rgb */ color: rgb(109, 82, 175);
/* oklch */ color: oklch(51.2% 0.143 294.2);
Tailwind
colors: {
  custom: {
    50: '#9a83c7',
    500: '#6d52af',
    950: '#000000',
  },
}
SCSS
$custom: #6d52af;
$custom-light: #9a83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d52af",
  "rgb": {
    "r": 109,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 257.419,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51196,
    "c": 0.14269,
    "h": 294.2
  },
  "luminance": 0.12381
}

Semantic roles & 50–950 ramp

primary
#6D52AF
secondary
#B7C39A
accent
#CD5BAC
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6D52AF

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

Preview Lab → · Contrast checker → · Palette generator →

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