#6F52DC#6F52DC

#6F52DC is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.6% C 0.201 H 287.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#6F52DC
RGBrgb(111, 82, 220)
HSLhsl(253, 66%, 59%)
HSVhsv(253, 63%, 86%)
CMYKcmyk(49.5%, 62.7%, 0%, 13.7%)
CIE-LABlab(45.05, 46.08, -66.79)
CIE-LCHlch(45.05, 81.15, 304.60°)
OKLaboklab(54.59% 0.0602 -0.1914)
OKLCHoklch(54.59% 0.201 287.5)
XYZxyz(22.4873, 14.5804, 69.3257)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F52DC #BFDC52
analogous
#527ADC #6F52DC #B452DC
triadic
#6F52DC #DC6F52 #52DC6F
tetradic
#6F52DC #DC527A #BFDC52 #52DCB4
square
#6F52DC #DC527A #BFDC52 #52DCB4
split-complementary
#6F52DC #DCB452 #7ADC52
monochromatic
#371E95 #4A29C8 #6F52DC #9985E6 #C4B8F1

Accessibility & contrast

On white

5.36
#6F52DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#6F52DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F52DC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F52DC#FFFFFF#000000##FFFFFF
##6F52DC1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#48738F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6f52dc;
/* rgb */ color: rgb(111, 82, 220);
/* oklch */ color: oklch(54.6% 0.201 287.5);
Tailwind
colors: {
  custom: {
    50: '#a184e8',
    500: '#6f52dc',
    950: '#000000',
  },
}
SCSS
$custom: #6f52dc;
$custom-light: #a184e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f52dc",
  "rgb": {
    "r": 111,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 252.609,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5459,
    "c": 0.20063,
    "h": 287.5
  },
  "luminance": 0.14581
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6F52DC

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

Preview Lab → · Contrast checker → · Palette generator →

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