#6B52DB#6B52DB

#6B52DB is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.2% C 0.200 H 286.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#6B52DB
RGBrgb(107, 82, 219)
HSLhsl(251, 66%, 59%)
HSVhsv(251, 63%, 86%)
CMYKcmyk(51.1%, 62.6%, 0%, 14.1%)
CIE-LABlab(44.62, 45.05, -66.94)
CIE-LCHlch(44.62, 80.69, 303.94°)
OKLaboklab(54.17% 0.0551 -0.1919)
OKLCHoklch(54.17% 0.2 286)
XYZxyz(21.8631, 14.2738, 68.6072)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B52DB #C2DB52
analogous
#527EDB #6B52DB #B052DB
triadic
#6B52DB #DB6B52 #52DB6B
tetradic
#6B52DB #DB527E #C2DB52 #52DBB0
square
#6B52DB #DB527E #C2DB52 #52DBB0
split-complementary
#6B52DB #DBB052 #7EDB52
monochromatic
#341F94 #4629C6 #6B52DB #9685E6 #C2B7F0

Accessibility & contrast

On white

5.45
#6B52DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#6B52DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B52DB
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B52DB#FFFFFF#000000##FFFFFF
##6B52DB1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#40738F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6b52db;
/* rgb */ color: rgb(107, 82, 219);
/* oklch */ color: oklch(54.2% 0.200 286.0);
Tailwind
colors: {
  custom: {
    50: '#9e84e7',
    500: '#6b52db',
    950: '#000000',
  },
}
SCSS
$custom: #6b52db;
$custom-light: #9e84e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b52db",
  "rgb": {
    "r": 107,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 250.949,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54167,
    "c": 0.19967,
    "h": 286
  },
  "luminance": 0.14275
}

Semantic roles & 50–950 ramp

primary
#6B52DB
secondary
#D5DFAA
accent
#E93FCA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6B52DB

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

Preview Lab → · Contrast checker → · Palette generator →

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