#6F52C4#6F52C4

#6F52C4 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.8% C 0.170 H 291.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#6F52C4
RGBrgb(111, 82, 196)
HSLhsl(255, 49%, 55%)
HSVhsv(255, 58%, 77%)
CMYKcmyk(43.4%, 58.2%, 0%, 23.1%)
CIE-LABlab(43.36, 39.21, -55.74)
CIE-LCHlch(43.36, 68.15, 305.12°)
OKLaboklab(52.82% 0.0615 -0.1589)
OKLCHoklch(52.82% 0.17 291.2)
XYZxyz(19.5339, 13.3990, 53.7709)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F52C4 #A7C452
analogous
#526EC4 #6F52C4 #A852C4
triadic
#6F52C4 #C46F52 #52C46F
tetradic
#6F52C4 #C4526E #A7C452 #52C4A8
square
#6F52C4 #C4526E #A7C452 #52C4A8
split-complementary
#6F52C4 #C4A852 #6EC452
monochromatic
#3B2874 #5237A2 #6F52C4 #9580D4 #BBADE3

Accessibility & contrast

On white

5.71
#6F52C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#6F52C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F52C4
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F52C4#FFFFFF#000000##FFFFFF
##6F52C41.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C8
Deuteranopia (green-blind)
#1064C2
Tritanopia (blue-blind)
#576B83
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6f52c4;
/* rgb */ color: rgb(111, 82, 196);
/* oklch */ color: oklch(52.8% 0.170 291.2);
Tailwind
colors: {
  custom: {
    50: '#9e84d7',
    500: '#6f52c4',
    950: '#000000',
  },
}
SCSS
$custom: #6f52c4;
$custom-light: #9e84d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f52c4",
  "rgb": {
    "r": 111,
    "g": 82,
    "b": 196
  },
  "hsl": {
    "h": 255.263,
    "s": 49.138,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52815,
    "c": 0.17035,
    "h": 291.2
  },
  "luminance": 0.134
}

Semantic roles & 50–950 ramp

primary
#6F52C4
secondary
#C5D1A1
accent
#D94FB6
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #6F52C4

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

Preview Lab → · Contrast checker → · Palette generator →

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