#6F52DB#6F52DB

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

Color values

HEX#6F52DB
RGBrgb(111, 82, 219)
HSLhsl(253, 66%, 59%)
HSVhsv(253, 63%, 86%)
CMYKcmyk(49.3%, 62.6%, 0%, 14.1%)
CIE-LABlab(44.98, 45.79, -66.34)
CIE-LCHlch(44.98, 80.61, 304.62°)
OKLaboklab(54.51% 0.0603 -0.19)
OKLCHoklch(54.51% 0.199 287.6)
XYZxyz(22.3553, 14.5276, 68.6303)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F52DB #BEDB52
analogous
#527ADB #6F52DB #B452DB
triadic
#6F52DB #DB6F52 #52DB6F
tetradic
#6F52DB #DB527A #BEDB52 #52DBB4
square
#6F52DB #DB527A #BEDB52 #52DBB4
split-complementary
#6F52DB #DBB452 #7ADB52
monochromatic
#381F94 #4B29C6 #6F52DB #9985E6 #C3B7F0

Accessibility & contrast

On white

5.38
#6F52DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#6F52DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F52DB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F52DB#FFFFFF#000000##FFFFFF
##6F52DB1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f52db;
/* rgb */ color: rgb(111, 82, 219);
/* oklch */ color: oklch(54.5% 0.199 287.6);
Tailwind
colors: {
  custom: {
    50: '#a184e7',
    500: '#6f52db',
    950: '#000000',
  },
}
SCSS
$custom: #6f52db;
$custom-light: #a184e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f52db",
  "rgb": {
    "r": 111,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 252.701,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54514,
    "c": 0.19939,
    "h": 287.6
  },
  "luminance": 0.14529
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6F52DB

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

Preview Lab → · Contrast checker → · Palette generator →

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