#6F52BD#6F52BD

#6F52BD is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.3% C 0.161 H 292.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#6F52BD
RGBrgb(111, 82, 189)
HSLhsl(256, 45%, 53%)
HSVhsv(256, 57%, 74%)
CMYKcmyk(41.3%, 56.6%, 0%, 25.9%)
CIE-LABlab(42.90, 37.24, -52.42)
CIE-LCHlch(42.90, 64.30, 305.39°)
OKLaboklab(52.33% 0.0615 -0.1491)
OKLCHoklch(52.33% 0.161 292.4)
XYZxyz(18.7557, 13.0877, 49.6722)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F52BD #A0BD52
analogous
#526ABD #6F52BD #A552BD
triadic
#6F52BD #BD6F52 #52BD6F
tetradic
#6F52BD #BD526A #A0BD52 #52BDA5
square
#6F52BD #BD526A #A0BD52 #52BDA5
split-complementary
#6F52BD #BDA552 #6ABD52
monochromatic
#3B296C #533A98 #6F52BD #947ECE #B9ABDF

Accessibility & contrast

On white

5.80
#6F52BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6F52BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F52BD
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F52BD#FFFFFF#000000##FFFFFF
##6F52BD1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1767C1
Deuteranopia (green-blind)
#2163BB
Tritanopia (blue-blind)
#5A697F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6f52bd;
/* rgb */ color: rgb(111, 82, 189);
/* oklch */ color: oklch(52.3% 0.161 292.4);
Tailwind
colors: {
  custom: {
    50: '#9d83d1',
    500: '#6f52bd',
    950: '#000000',
  },
}
SCSS
$custom: #6f52bd;
$custom-light: #9d83d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f52bd",
  "rgb": {
    "r": 111,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 256.262,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52326,
    "c": 0.16129,
    "h": 292.4
  },
  "luminance": 0.13088
}

Semantic roles & 50–950 ramp

primary
#6F52BD
secondary
#C0CC9E
accent
#D453B1
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #6F52BD

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

Preview Lab → · Contrast checker → · Palette generator →

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