#6B52DD#6B52DD

#6B52DD is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.3% C 0.202 H 285.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#6B52DD
RGBrgb(107, 82, 221)
HSLhsl(251, 67%, 59%)
HSVhsv(251, 63%, 87%)
CMYKcmyk(51.6%, 62.9%, 0%, 13.3%)
CIE-LABlab(44.77, 45.64, -67.84)
CIE-LCHlch(44.77, 81.76, 303.93°)
OKLaboklab(54.32% 0.0549 -0.1946)
OKLCHoklch(54.32% 0.202 285.8)
XYZxyz(22.1280, 14.3797, 70.0022)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B52DD #C4DD52
analogous
#527FDD #6B52DD #B052DD
triadic
#6B52DD #DD6B52 #52DD6B
tetradic
#6B52DD #DD527F #C4DD52 #52DDB0
square
#6B52DD #DD527F #C4DD52 #52DDB0
split-complementary
#6B52DD #DDB052 #7FDD52
monochromatic
#331E97 #4528CA #6B52DD #9785E7 #C3B8F1

Accessibility & contrast

On white

5.42
#6B52DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#6B52DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B52DD
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B52DD#FFFFFF#000000##FFFFFF
##6B52DD1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE1
Deuteranopia (green-blind)
#0066DA
Tritanopia (blue-blind)
#3E7490
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6b52dd;
/* rgb */ color: rgb(107, 82, 221);
/* oklch */ color: oklch(54.3% 0.202 285.8);
Tailwind
colors: {
  custom: {
    50: '#9f84e9',
    500: '#6b52dd',
    950: '#000000',
  },
}
SCSS
$custom: #6b52dd;
$custom-light: #9f84e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b52dd",
  "rgb": {
    "r": 107,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 250.791,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54323,
    "c": 0.20216,
    "h": 285.8
  },
  "luminance": 0.14381
}

Semantic roles & 50–950 ramp

primary
#6B52DD
secondary
#D7E0AA
accent
#EA3ECB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6B52DD

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

Preview Lab → · Contrast checker → · Palette generator →

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