#6E52E4#6E52E4

#6E52E4 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.1% C 0.211 H 286.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#6E52E4
RGBrgb(110, 82, 228)
HSLhsl(252, 73%, 61%)
HSVhsv(252, 64%, 89%)
CMYKcmyk(51.8%, 64%, 0%, 10.6%)
CIE-LABlab(45.57, 48.22, -70.51)
CIE-LCHlch(45.57, 85.42, 304.37°)
OKLaboklab(55.13% 0.0582 -0.2023)
OKLCHoklch(55.13% 0.211 286)
XYZxyz(23.4471, 14.9498, 75.0339)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E52E4 #C8E452
analogous
#527FE4 #6E52E4 #B752E4
triadic
#6E52E4 #E46E52 #52E46E
tetradic
#6E52E4 #E4527F #C8E452 #52E4B7
square
#6E52E4 #E4527F #C8E452 #52E4B7
split-complementary
#6E52E4 #E4B752 #7FE452
monochromatic
#3419A2 #4422D7 #6E52E4 #9A87EC #C7BCF5

Accessibility & contrast

On white

5.26
#6E52E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#6E52E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E52E4
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E52E4#FFFFFF#000000##FFFFFF
##6E52E41.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#0068E1
Tritanopia (blue-blind)
#407694
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6e52e4;
/* rgb */ color: rgb(110, 82, 228);
/* oklch */ color: oklch(55.1% 0.211 286.0);
Tailwind
colors: {
  custom: {
    50: '#a184ee',
    500: '#6e52e4',
    950: '#000000',
  },
}
SCSS
$custom: #6e52e4;
$custom-light: #a184ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6e52e4",
  "rgb": {
    "r": 110,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 251.507,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55128,
    "c": 0.21051,
    "h": 286
  },
  "luminance": 0.14951
}

Semantic roles & 50–950 ramp

primary
#6E52E4
secondary
#DAE5AD
accent
#D510AF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6E52E4

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

Preview Lab → · Contrast checker → · Palette generator →

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