#6D52BE#6D52BE

#6D52BE is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.2% C 0.163 H 291.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#6D52BE
RGBrgb(109, 82, 190)
HSLhsl(255, 45%, 53%)
HSVhsv(255, 57%, 75%)
CMYKcmyk(42.6%, 56.8%, 0%, 25.5%)
CIE-LABlab(42.77, 37.06, -53.22)
CIE-LCHlch(42.77, 64.85, 304.85°)
OKLaboklab(52.21% 0.0589 -0.1515)
OKLCHoklch(52.21% 0.163 291.2)
XYZxyz(18.6157, 13.0029, 50.2342)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D52BE #A3BE52
analogous
#526DBE #6D52BE #A352BE
triadic
#6D52BE #BE6D52 #52BE6D
tetradic
#6D52BE #BE526D #A3BE52 #52BEA3
square
#6D52BE #BE526D #A3BE52 #52BEA3
split-complementary
#6D52BE #BEA352 #6DBE52
monochromatic
#3A296D #513A99 #6D52BE #937ECF #B8ABDF

Accessibility & contrast

On white

5.83
#6D52BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6D52BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D52BE
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D52BE#FFFFFF#000000##FFFFFF
##6D52BE1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1367C2
Deuteranopia (green-blind)
#1C63BC
Tritanopia (blue-blind)
#566980
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6d52be;
/* rgb */ color: rgb(109, 82, 190);
/* oklch */ color: oklch(52.2% 0.163 291.2);
Tailwind
colors: {
  custom: {
    50: '#9c83d2',
    500: '#6d52be',
    950: '#000000',
  },
}
SCSS
$custom: #6d52be;
$custom-light: #9c83d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d52be",
  "rgb": {
    "r": 109,
    "g": 82,
    "b": 190
  },
  "hsl": {
    "h": 255,
    "s": 45.378,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52207,
    "c": 0.16256,
    "h": 291.2
  },
  "luminance": 0.13004
}

Semantic roles & 50–950 ramp

primary
#6D52BE
secondary
#C2CD9F
accent
#D553B4
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0F0B14
muted
#7E7C83

Preview Lab

Preview with #6D52BE

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

Preview Lab → · Contrast checker → · Palette generator →

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