#6D52BC#6D52BC

#6D52BC is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.1% C 0.160 H 291.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#6D52BC
RGBrgb(109, 82, 188)
HSLhsl(255, 44%, 53%)
HSVhsv(255, 56%, 74%)
CMYKcmyk(42%, 56.4%, 0%, 26.3%)
CIE-LABlab(42.64, 36.49, -52.26)
CIE-LCHlch(42.64, 63.74, 304.92°)
OKLaboklab(52.07% 0.0589 -0.1487)
OKLCHoklch(52.07% 0.16 291.6)
XYZxyz(18.3986, 12.9161, 49.0909)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D52BC #A1BC52
analogous
#526CBC #6D52BC #A252BC
triadic
#6D52BC #BC6D52 #52BC6D
tetradic
#6D52BC #BC526C #A1BC52 #52BCA2
square
#6D52BC #BC526C #A1BC52 #52BCA2
split-complementary
#6D52BC #BCA252 #6CBC52
monochromatic
#3A296A #523A97 #6D52BC #927ECD #B7AADE

Accessibility & contrast

On white

5.86
#6D52BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6D52BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D52BC
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D52BC#FFFFFF#000000##FFFFFF
##6D52BC1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1866C0
Deuteranopia (green-blind)
#2062BA
Tritanopia (blue-blind)
#57697F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6d52bc;
/* rgb */ color: rgb(109, 82, 188);
/* oklch */ color: oklch(52.1% 0.160 291.6);
Tailwind
colors: {
  custom: {
    50: '#9c83d1',
    500: '#6d52bc',
    950: '#000000',
  },
}
SCSS
$custom: #6d52bc;
$custom-light: #9c83d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d52bc",
  "rgb": {
    "r": 109,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 255.283,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52069,
    "c": 0.15993,
    "h": 291.6
  },
  "luminance": 0.12917
}

Semantic roles & 50–950 ramp

primary
#6D52BC
secondary
#C0CC9E
accent
#D454B3
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0F0B14
muted
#7E7C82

Preview Lab

Preview with #6D52BC

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

Preview Lab → · Contrast checker → · Palette generator →

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