#6F52BF#6F52BF

#6F52BF is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.5% C 0.164 H 292.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#6F52BF
RGBrgb(111, 82, 191)
HSLhsl(256, 46%, 54%)
HSVhsv(256, 57%, 75%)
CMYKcmyk(41.9%, 57.1%, 0%, 25.1%)
CIE-LABlab(43.03, 37.80, -53.37)
CIE-LCHlch(43.03, 65.40, 305.31°)
OKLaboklab(52.46% 0.0615 -0.1519)
OKLCHoklch(52.46% 0.164 292)
XYZxyz(18.9742, 13.1751, 50.8235)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F52BF #A2BF52
analogous
#526BBF #6F52BF #A552BF
triadic
#6F52BF #BF6F52 #52BF6F
tetradic
#6F52BF #BF526B #A2BF52 #52BFA5
square
#6F52BF #BF526B #A2BF52 #52BFA5
split-complementary
#6F52BF #BFA552 #6BBF52
monochromatic
#3B296E #53399B #6F52BF #947FD0 #B9ABE0

Accessibility & contrast

On white

5.78
#6F52BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#6F52BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F52BF
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F52BF#FFFFFF#000000##FFFFFF
##6F52BF1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1367C3
Deuteranopia (green-blind)
#1D63BD
Tritanopia (blue-blind)
#596A80
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6f52bf;
/* rgb */ color: rgb(111, 82, 191);
/* oklch */ color: oklch(52.5% 0.164 292.0);
Tailwind
colors: {
  custom: {
    50: '#9d83d3',
    500: '#6f52bf',
    950: '#000000',
  },
}
SCSS
$custom: #6f52bf;
$custom-light: #9d83d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f52bf",
  "rgb": {
    "r": 111,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 255.963,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52464,
    "c": 0.16389,
    "h": 292
  },
  "luminance": 0.13176
}

Semantic roles & 50–950 ramp

primary
#6F52BF
secondary
#C1CE9F
accent
#D652B3
background
#FAF8FD
surface
#F3EFFA
border
#CDCAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #6F52BF

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

Preview Lab → · Contrast checker → · Palette generator →

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