#5D528F#5D528F

#5D528F is a mid, moderate violet. Relative luminance 0.103; OKLCH L 47.7% C 0.097 H 290.5°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#5D528F
RGBrgb(93, 82, 143)
HSLhsl(251, 27%, 44%)
HSVhsv(251, 43%, 56%)
CMYKcmyk(35%, 42.7%, 0%, 43.9%)
CIE-LABlab(38.45, 19.47, -32.26)
CIE-LCHlch(38.45, 37.68, 301.12°)
OKLaboklab(47.71% 0.0339 -0.0906)
OKLCHoklch(47.71% 0.097 290.5)
XYZxyz(12.4881, 10.3446, 27.3200)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D528F #848F52
analogous
#52668F #5D528F #7C528F
triadic
#5D528F #8F5D52 #528F5D
tetradic
#5D528F #8F5266 #848F52 #528F7C
square
#5D528F #8F5266 #848F52 #528F7C
split-complementary
#5D528F #8F7C52 #668F52
monochromatic
#2A2541 #443C68 #5D528F #7C71AD #A098C4

Accessibility & contrast

On white

6.84
#5D528F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5D528F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D528F
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D528F#FFFFFF#000000##FFFFFF
##5D528F1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5C91
Deuteranopia (green-blind)
#3F598E
Tritanopia (blue-blind)
#515D69
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5d528f;
/* rgb */ color: rgb(93, 82, 143);
/* oklch */ color: oklch(47.7% 0.097 290.5);
Tailwind
colors: {
  custom: {
    50: '#8d82b0',
    500: '#5d528f',
    950: '#000000',
  },
}
SCSS
$custom: #5d528f;
$custom-light: #8d82b0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d528f",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 143
  },
  "hsl": {
    "h": 250.82,
    "s": 27.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47713,
    "c": 0.0967,
    "h": 290.5
  },
  "luminance": 0.10345
}

Semantic roles & 50–950 ramp

primary
#5D528F
secondary
#AAB18C
accent
#C364B2
background
#F8F7FA
surface
#F0EEF5
border
#CBC9CF
text
#0C0A10
muted
#7D7C7F

Preview Lab

Preview with #5D528F

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

Preview Lab → · Contrast checker → · Palette generator →

#5D528F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva