#6E52BD#6E52BD

#6E52BD is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.2% C 0.161 H 291.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#6E52BD
RGBrgb(110, 82, 189)
HSLhsl(256, 45%, 53%)
HSVhsv(256, 57%, 74%)
CMYKcmyk(41.8%, 56.6%, 0%, 25.9%)
CIE-LABlab(42.80, 37.01, -52.58)
CIE-LCHlch(42.80, 64.30, 305.14°)
OKLaboklab(52.23% 0.0602 -0.1496)
OKLCHoklch(52.23% 0.161 291.9)
XYZxyz(18.6305, 13.0232, 49.6664)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E52BD #A1BD52
analogous
#526BBD #6E52BD #A352BD
triadic
#6E52BD #BD6E52 #52BD6E
tetradic
#6E52BD #BD526B #A1BD52 #52BDA3
square
#6E52BD #BD526B #A1BD52 #52BDA3
split-complementary
#6E52BD #BDA352 #6BBD52
monochromatic
#3A296C #533A98 #6E52BD #937ECE #B8ABDF

Accessibility & contrast

On white

5.83
#6E52BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6E52BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E52BD
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E52BD#FFFFFF#000000##FFFFFF
##6E52BD1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1767C1
Deuteranopia (green-blind)
#1F63BB
Tritanopia (blue-blind)
#58697F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6e52bd;
/* rgb */ color: rgb(110, 82, 189);
/* oklch */ color: oklch(52.2% 0.161 291.9);
Tailwind
colors: {
  custom: {
    50: '#9c83d1',
    500: '#6e52bd',
    950: '#000000',
  },
}
SCSS
$custom: #6e52bd;
$custom-light: #9c83d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e52bd",
  "rgb": {
    "r": 110,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 255.701,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52232,
    "c": 0.16126,
    "h": 291.9
  },
  "luminance": 0.13024
}

Semantic roles & 50–950 ramp

primary
#6E52BD
secondary
#C0CC9E
accent
#D453B3
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #6E52BD

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

Preview Lab → · Contrast checker → · Palette generator →

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