#6E52DB#6E52DB

#6E52DB is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.4% C 0.199 H 287.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#6E52DB
RGBrgb(110, 82, 219)
HSLhsl(252, 66%, 59%)
HSVhsv(252, 63%, 86%)
CMYKcmyk(49.8%, 62.6%, 0%, 14.1%)
CIE-LABlab(44.89, 45.61, -66.49)
CIE-LCHlch(44.89, 80.63, 304.45°)
OKLaboklab(54.43% 0.059 -0.1905)
OKLCHoklch(54.43% 0.199 287.2)
XYZxyz(22.2301, 14.4630, 68.6244)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E52DB #BFDB52
analogous
#527BDB #6E52DB #B352DB
triadic
#6E52DB #DB6E52 #52DB6E
tetradic
#6E52DB #DB527B #BFDB52 #52DBB3
square
#6E52DB #DB527B #BFDB52 #52DBB3
split-complementary
#6E52DB #DBB352 #7BDB52
monochromatic
#371F94 #4929C6 #6E52DB #9885E6 #C3B7F0

Accessibility & contrast

On white

5.39
#6E52DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#6E52DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E52DB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E52DB#FFFFFF#000000##FFFFFF
##6E52DB1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#47738F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6e52db;
/* rgb */ color: rgb(110, 82, 219);
/* oklch */ color: oklch(54.4% 0.199 287.2);
Tailwind
colors: {
  custom: {
    50: '#a084e7',
    500: '#6e52db',
    950: '#000000',
  },
}
SCSS
$custom: #6e52db;
$custom-light: #a084e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e52db",
  "rgb": {
    "r": 110,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 252.263,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54426,
    "c": 0.19945,
    "h": 287.2
  },
  "luminance": 0.14464
}

Semantic roles & 50–950 ramp

primary
#6E52DB
secondary
#D4DFAA
accent
#E93FC6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6E52DB

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

Preview Lab → · Contrast checker → · Palette generator →

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