#5232BD#5232BD

#5232BD is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 44.8% C 0.203 H 285.4°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#5232BD
RGBrgb(82, 50, 189)
HSLhsl(254, 58%, 47%)
HSVhsv(254, 74%, 74%)
CMYKcmyk(56.6%, 73.5%, 0%, 25.9%)
CIE-LABlab(33.45, 49.65, -67.90)
CIE-LCHlch(33.45, 84.12, 306.18°)
OKLaboklab(44.83% 0.0538 -0.1955)
OKLCHoklch(44.83% 0.203 285.4)
XYZxyz(13.8028, 7.7484, 48.9025)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5232BD #9DBD32
analogous
#3258BD #5232BD #9832BD
triadic
#5232BD #BD5232 #32BD52
tetradic
#5232BD #BD3258 #9DBD32 #32BD98
square
#5232BD #BD3258 #9DBD32 #32BD98
split-complementary
#5232BD #BD9832 #58BD32
monochromatic
#28185C #3D258D #5232BD #7559D3 #9D89E0

Accessibility & contrast

On white

8.24
#5232BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5232BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5232BD
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5232BD#FFFFFF#000000##FFFFFF
##5232BD1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#004ABA
Tritanopia (blue-blind)
#1D5875
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5232bd;
/* rgb */ color: rgb(82, 50, 189);
/* oklch */ color: oklch(44.8% 0.203 285.4);
Tailwind
colors: {
  custom: {
    50: '#8e6dd2',
    500: '#5232bd',
    950: '#000000',
  },
}
SCSS
$custom: #5232bd;
$custom-light: #8e6dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5232bd",
  "rgb": {
    "r": 82,
    "g": 50,
    "b": 189
  },
  "hsl": {
    "h": 253.813,
    "s": 58.159,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44827,
    "c": 0.20273,
    "h": 285.4
  },
  "luminance": 0.07749
}

Semantic roles & 50–950 ramp

primary
#5232BD
secondary
#B9CA81
accent
#E146BE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5232BD

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

Preview Lab → · Contrast checker → · Palette generator →

#5232BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva