#6D52BF#6D52BF

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

Color values

HEX#6D52BF
RGBrgb(109, 82, 191)
HSLhsl(255, 46%, 54%)
HSVhsv(255, 57%, 75%)
CMYKcmyk(42.9%, 57.1%, 0%, 25.1%)
CIE-LABlab(42.83, 37.34, -53.69)
CIE-LCHlch(42.83, 65.40, 304.82°)
OKLaboklab(52.28% 0.0589 -0.1529)
OKLCHoklch(52.28% 0.164 291.1)
XYZxyz(18.7253, 13.0468, 50.8118)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D52BF #A4BF52
analogous
#526DBF #6D52BF #A352BF
triadic
#6D52BF #BF6D52 #52BF6D
tetradic
#6D52BF #BF526D #A4BF52 #52BFA3
square
#6D52BF #BF526D #A4BF52 #52BFA3
split-complementary
#6D52BF #BFA352 #6DBF52
monochromatic
#3A296E #51399B #6D52BF #937FD0 #B8ABE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D52BF#FFFFFF#000000##FFFFFF
##6D52BF1.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)
#1067C3
Deuteranopia (green-blind)
#1963BD
Tritanopia (blue-blind)
#566A80
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6d52bf;
/* rgb */ color: rgb(109, 82, 191);
/* oklch */ color: oklch(52.3% 0.164 291.1);
Tailwind
colors: {
  custom: {
    50: '#9c83d3',
    500: '#6d52bf',
    950: '#000000',
  },
}
SCSS
$custom: #6d52bf;
$custom-light: #9c83d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d52bf",
  "rgb": {
    "r": 109,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 254.862,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52277,
    "c": 0.16386,
    "h": 291.1
  },
  "luminance": 0.13047
}

Semantic roles & 50–950 ramp

primary
#6D52BF
secondary
#C2CE9F
accent
#D652B5
background
#FAF8FD
surface
#F3EFFA
border
#CDCAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #6D52BF

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

Preview Lab → · Contrast checker → · Palette generator →

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