#6E52AF#6E52AF

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

Color values

HEX#6E52AF
RGBrgb(110, 82, 175)
HSLhsl(258, 37%, 50%)
HSVhsv(258, 53%, 69%)
CMYKcmyk(37.1%, 53.1%, 0%, 31.4%)
CIE-LABlab(41.91, 33.09, -45.79)
CIE-LCHlch(41.91, 56.50, 305.86°)
OKLaboklab(51.29% 0.0597 -0.1297)
OKLCHoklch(51.29% 0.143 294.7)
XYZxyz(17.1836, 12.4444, 42.0458)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E52AF #93AF52
analogous
#5264AF #6E52AF #9D52AF
triadic
#6E52AF #AF6E52 #52AF6E
tetradic
#6E52AF #AF5264 #93AF52 #52AF9D
square
#6E52AF #AF5264 #93AF52 #52AF9D
split-complementary
#6E52AF #AF9D52 #64AF52
monochromatic
#392B5C #543E86 #6E52AF #917CC2 #B4A6D6

Accessibility & contrast

On white

6.02
#6E52AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#6E52AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E52AF
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E52AF#FFFFFF#000000##FFFFFF
##6E52AF1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C64B2
Deuteranopia (green-blind)
#3261AD
Tritanopia (blue-blind)
#5E6578
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6e52af;
/* rgb */ color: rgb(110, 82, 175);
/* oklch */ color: oklch(51.3% 0.143 294.7);
Tailwind
colors: {
  custom: {
    50: '#9b83c7',
    500: '#6e52af',
    950: '#000000',
  },
}
SCSS
$custom: #6e52af;
$custom-light: #9b83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e52af",
  "rgb": {
    "r": 110,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 258.065,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51293,
    "c": 0.14276,
    "h": 294.7
  },
  "luminance": 0.12445
}

Semantic roles & 50–950 ramp

primary
#6E52AF
secondary
#B7C39A
accent
#CD5BAB
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #6E52AF

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

Preview Lab → · Contrast checker → · Palette generator →

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