#6B52BF#6B52BF

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

Color values

HEX#6B52BF
RGBrgb(107, 82, 191)
HSLhsl(254, 46%, 54%)
HSVhsv(254, 57%, 75%)
CMYKcmyk(44%, 57.1%, 0%, 25.1%)
CIE-LABlab(42.64, 36.89, -54.01)
CIE-LCHlch(42.64, 65.41, 304.34°)
OKLaboklab(52.09% 0.0563 -0.1539)
OKLCHoklch(52.09% 0.164 290.1)
XYZxyz(18.4820, 12.9213, 50.8004)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B52BF #A6BF52
analogous
#526FBF #6B52BF #A152BF
triadic
#6B52BF #BF6B52 #52BF6B
tetradic
#6B52BF #BF526F #A6BF52 #52BFA1
square
#6B52BF #BF526F #A6BF52 #52BFA1
split-complementary
#6B52BF #BFA152 #6FBF52
monochromatic
#39296E #50399B #6B52BF #917FD0 #B7ABE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B52BF#FFFFFF#000000##FFFFFF
##6B52BF1.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)
#0E67C3
Deuteranopia (green-blind)
#1662BD
Tritanopia (blue-blind)
#526A80
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6b52bf;
/* rgb */ color: rgb(107, 82, 191);
/* oklch */ color: oklch(52.1% 0.164 290.1);
Tailwind
colors: {
  custom: {
    50: '#9b83d3',
    500: '#6b52bf',
    950: '#000000',
  },
}
SCSS
$custom: #6b52bf;
$custom-light: #9b83d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b52bf",
  "rgb": {
    "r": 107,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 253.761,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52092,
    "c": 0.16386,
    "h": 290.1
  },
  "luminance": 0.12922
}

Semantic roles & 50–950 ramp

primary
#6B52BF
secondary
#C3CE9F
accent
#D652B7
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0F0B14
muted
#7E7C83

Preview Lab

Preview with #6B52BF

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

Preview Lab → · Contrast checker → · Palette generator →

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