#6F52BC#6F52BC

#6F52BC is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.3% C 0.160 H 292.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#6F52BC
RGBrgb(111, 82, 188)
HSLhsl(256, 44%, 53%)
HSVhsv(256, 56%, 74%)
CMYKcmyk(41%, 56.4%, 0%, 26.3%)
CIE-LABlab(42.83, 36.96, -51.94)
CIE-LCHlch(42.83, 63.75, 305.43°)
OKLaboklab(52.26% 0.0615 -0.1477)
OKLCHoklch(52.26% 0.16 292.6)
XYZxyz(18.6475, 13.0444, 49.1025)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F52BC #9FBC52
analogous
#526ABC #6F52BC #A452BC
triadic
#6F52BC #BC6F52 #52BC6F
tetradic
#6F52BC #BC526A #9FBC52 #52BCA4
square
#6F52BC #BC526A #9FBC52 #52BCA4
split-complementary
#6F52BC #BCA452 #6ABC52
monochromatic
#3B296A #543A97 #6F52BC #947ECD #B8AADE

Accessibility & contrast

On white

5.82
#6F52BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#6F52BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F52BC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F52BC#FFFFFF#000000##FFFFFF
##6F52BC1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1967C0
Deuteranopia (green-blind)
#2263BA
Tritanopia (blue-blind)
#5A697F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6f52bc;
/* rgb */ color: rgb(111, 82, 188);
/* oklch */ color: oklch(52.3% 0.160 292.6);
Tailwind
colors: {
  custom: {
    50: '#9d83d1',
    500: '#6f52bc',
    950: '#000000',
  },
}
SCSS
$custom: #6f52bc;
$custom-light: #9d83d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f52bc",
  "rgb": {
    "r": 111,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 256.415,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52257,
    "c": 0.15998,
    "h": 292.6
  },
  "luminance": 0.13045
}

Semantic roles & 50–950 ramp

primary
#6F52BC
secondary
#BFCC9E
accent
#D454B1
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #6F52BC

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

Preview Lab → · Contrast checker → · Palette generator →

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