#6D52E4#6D52E4

#6D52E4 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.0% C 0.211 H 285.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6D52E4
RGBrgb(109, 82, 228)
HSLhsl(251, 73%, 61%)
HSVhsv(251, 64%, 89%)
CMYKcmyk(52.2%, 64%, 0%, 10.6%)
CIE-LABlab(45.48, 48.04, -70.66)
CIE-LCHlch(45.48, 85.44, 304.21°)
OKLaboklab(55.04% 0.0569 -0.2028)
OKLCHoklch(55.04% 0.211 285.7)
XYZxyz(23.3234, 14.8860, 75.0281)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D52E4 #C9E452
analogous
#5280E4 #6D52E4 #B652E4
triadic
#6D52E4 #E46D52 #52E46D
tetradic
#6D52E4 #E45280 #C9E452 #52E4B6
square
#6D52E4 #E45280 #C9E452 #52E4B6
split-complementary
#6D52E4 #E4B652 #80E452
monochromatic
#3319A2 #4322D7 #6D52E4 #9A87EC #C6BCF5

Accessibility & contrast

On white

5.28
#6D52E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#6D52E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D52E4
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D52E4#FFFFFF#000000##FFFFFF
##6D52E41.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#0067E1
Tritanopia (blue-blind)
#3D7694
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6d52e4;
/* rgb */ color: rgb(109, 82, 228);
/* oklch */ color: oklch(55.0% 0.211 285.7);
Tailwind
colors: {
  custom: {
    50: '#a184ee',
    500: '#6d52e4',
    950: '#000000',
  },
}
SCSS
$custom: #6d52e4;
$custom-light: #a184ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6d52e4",
  "rgb": {
    "r": 109,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 251.096,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55043,
    "c": 0.21061,
    "h": 285.7
  },
  "luminance": 0.14887
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D52E4

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

Preview Lab → · Contrast checker → · Palette generator →

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