#6528B2#6528B2

#6528B2 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.6% C 0.201 H 297.5°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#6528B2
RGBrgb(101, 40, 178)
HSLhsl(267, 63%, 43%)
HSVhsv(267, 78%, 70%)
CMYKcmyk(43.3%, 77.5%, 0%, 30.2%)
CIE-LABlab(32.92, 54.21, -62.18)
CIE-LCHlch(32.92, 82.50, 311.08°)
OKLaboklab(44.63% 0.0928 -0.178)
OKLCHoklch(44.63% 0.201 297.5)
XYZxyz(14.1594, 7.4984, 42.8122)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6528B2 #75B228
analogous
#2830B2 #6528B2 #AA28B2
triadic
#6528B2 #B26528 #28B265
tetradic
#6528B2 #B22830 #75B228 #28B2AA
square
#6528B2 #B22830 #75B228 #28B2AA
split-complementary
#6528B2 #B2AA28 #30B228
monochromatic
#2C124E #491D80 #6528B2 #8343D5 #A475E0

Accessibility & contrast

On white

8.40
#6528B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6528B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6528B2
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6528B2#FFFFFF#000000##FFFFFF
##6528B21.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#004CAF
Tritanopia (blue-blind)
#514E6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6528b2;
/* rgb */ color: rgb(101, 40, 178);
/* oklch */ color: oklch(44.6% 0.201 297.5);
Tailwind
colors: {
  custom: {
    50: '#9869ca',
    500: '#6528b2',
    950: '#000000',
  },
}
SCSS
$custom: #6528b2;
$custom-light: #9869ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6528b2",
  "rgb": {
    "r": 101,
    "g": 40,
    "b": 178
  },
  "hsl": {
    "h": 266.522,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4463,
    "c": 0.20077,
    "h": 297.5
  },
  "luminance": 0.07499
}

Semantic roles & 50–950 ramp

primary
#6528B2
secondary
#A0C76F
accent
#E6419D
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6528B2

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

Preview Lab → · Contrast checker → · Palette generator →

#6528B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva