#6C52DB#6C52DB

#6C52DB is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.3% C 0.200 H 286.4°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#6C52DB
RGBrgb(108, 82, 219)
HSLhsl(251, 66%, 59%)
HSVhsv(251, 63%, 86%)
CMYKcmyk(50.7%, 62.6%, 0%, 14.1%)
CIE-LABlab(44.71, 45.23, -66.79)
CIE-LCHlch(44.71, 80.67, 304.11°)
OKLaboklab(54.25% 0.0564 -0.1915)
OKLCHoklch(54.25% 0.2 286.4)
XYZxyz(21.9840, 14.3361, 68.6129)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C52DB #C1DB52
analogous
#527DDB #6C52DB #B152DB
triadic
#6C52DB #DB6C52 #52DB6C
tetradic
#6C52DB #DB527D #C1DB52 #52DBB1
square
#6C52DB #DB527D #C1DB52 #52DBB1
split-complementary
#6C52DB #DBB152 #7DDB52
monochromatic
#351F94 #4729C6 #6C52DB #9785E6 #C2B7F0

Accessibility & contrast

On white

5.43
#6C52DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#6C52DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C52DB
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C52DB#FFFFFF#000000##FFFFFF
##6C52DB1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c52db;
/* rgb */ color: rgb(108, 82, 219);
/* oklch */ color: oklch(54.3% 0.200 286.4);
Tailwind
colors: {
  custom: {
    50: '#9f84e7',
    500: '#6c52db',
    950: '#000000',
  },
}
SCSS
$custom: #6c52db;
$custom-light: #9f84e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c52db",
  "rgb": {
    "r": 108,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 251.387,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54253,
    "c": 0.19959,
    "h": 286.4
  },
  "luminance": 0.14337
}

Semantic roles & 50–950 ramp

primary
#6C52DB
secondary
#D5DFAA
accent
#E93FC8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6C52DB

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

Preview Lab → · Contrast checker → · Palette generator →

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