#6C52AF#6C52AF

#6C52AF is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.1% C 0.143 H 293.6°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#6C52AF
RGBrgb(108, 82, 175)
HSLhsl(257, 37%, 50%)
HSVhsv(257, 53%, 69%)
CMYKcmyk(38.3%, 53.1%, 0%, 31.4%)
CIE-LABlab(41.72, 32.59, -46.12)
CIE-LCHlch(41.72, 56.47, 305.25°)
OKLaboklab(51.1% 0.0571 -0.1307)
OKLCHoklch(51.1% 0.143 293.6)
XYZxyz(16.9375, 12.3175, 42.0343)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C52AF #95AF52
analogous
#5266AF #6C52AF #9A52AF
triadic
#6C52AF #AF6C52 #52AF6C
tetradic
#6C52AF #AF5266 #95AF52 #52AF9A
square
#6C52AF #AF5266 #95AF52 #52AF9A
split-complementary
#6C52AF #AF9A52 #66AF52
monochromatic
#382B5C #523E86 #6C52AF #907CC2 #B3A6D6

Accessibility & contrast

On white

6.06
#6C52AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#6C52AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C52AF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C52AF#FFFFFF#000000##FFFFFF
##6C52AF1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B63B2
Deuteranopia (green-blind)
#3061AD
Tritanopia (blue-blind)
#5B6578
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6c52af;
/* rgb */ color: rgb(108, 82, 175);
/* oklch */ color: oklch(51.1% 0.143 293.6);
Tailwind
colors: {
  custom: {
    50: '#9a83c7',
    500: '#6c52af',
    950: '#000000',
  },
}
SCSS
$custom: #6c52af;
$custom-light: #9a83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c52af",
  "rgb": {
    "r": 108,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 256.774,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.511,
    "c": 0.14262,
    "h": 293.6
  },
  "luminance": 0.12318
}

Semantic roles & 50–950 ramp

primary
#6C52AF
secondary
#B8C39A
accent
#CD5BAD
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6C52AF

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

Preview Lab → · Contrast checker → · Palette generator →

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