#6F52AC#6F52AC

#6F52AC is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.2% C 0.139 H 296.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#6F52AC
RGBrgb(111, 82, 172)
HSLhsl(259, 35%, 50%)
HSVhsv(259, 52%, 67%)
CMYKcmyk(35.5%, 52.3%, 0%, 32.5%)
CIE-LABlab(41.83, 32.53, -44.14)
CIE-LCHlch(41.83, 54.83, 306.39°)
OKLaboklab(51.2% 0.0609 -0.1248)
OKLCHoklch(51.2% 0.139 296)
XYZxyz(17.0173, 12.3924, 40.5171)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F52AC #8FAC52
analogous
#5262AC #6F52AC #9C52AC
triadic
#6F52AC #AC6F52 #52AC6F
tetradic
#6F52AC #AC5262 #8FAC52 #52AC9C
square
#6F52AC #AC5262 #8FAC52 #52AC9C
split-complementary
#6F52AC #AC9C52 #62AC52
monochromatic
#3A2A59 #543E83 #6F52AC #917BC0 #B4A5D4

Accessibility & contrast

On white

6.04
#6F52AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#6F52AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F52AC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F52AC#FFFFFF#000000##FFFFFF
##6F52AC1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F63AF
Deuteranopia (green-blind)
#3661AA
Tritanopia (blue-blind)
#616477
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6f52ac;
/* rgb */ color: rgb(111, 82, 172);
/* oklch */ color: oklch(51.2% 0.139 296.0);
Tailwind
colors: {
  custom: {
    50: '#9b83c5',
    500: '#6f52ac',
    950: '#000000',
  },
}
SCSS
$custom: #6f52ac;
$custom-light: #9b83c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f52ac",
  "rgb": {
    "r": 111,
    "g": 82,
    "b": 172
  },
  "hsl": {
    "h": 259.333,
    "s": 35.433,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51199,
    "c": 0.13884,
    "h": 296
  },
  "luminance": 0.12393
}

Semantic roles & 50–950 ramp

primary
#6F52AC
secondary
#B4C199
accent
#CB5CA8
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #6F52AC

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

Preview Lab → · Contrast checker → · Palette generator →

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