#5325B2#5325B2

#5325B2 is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.4% C 0.203 H 289.5°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#5325B2
RGBrgb(83, 37, 178)
HSLhsl(260, 66%, 42%)
HSVhsv(260, 79%, 70%)
CMYKcmyk(53.4%, 79.2%, 0%, 30.2%)
CIE-LABlab(30.34, 52.90, -66.49)
CIE-LCHlch(30.34, 84.96, 308.51°)
OKLaboklab(42.36% 0.0677 -0.1912)
OKLCHoklch(42.36% 0.203 289.5)
XYZxyz(12.2624, 6.3759, 42.6954)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5325B2 #84B225
analogous
#253EB2 #5325B2 #9925B2
triadic
#5325B2 #B25325 #25B253
tetradic
#5325B2 #B2253E #84B225 #25B299
square
#5325B2 #B2253E #84B225 #25B299
split-complementary
#5325B2 #B29925 #3EB225
monochromatic
#24104D #3B1A7F #5325B2 #6F3DD7 #9570E1

Accessibility & contrast

On white

9.23
#5325B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#5325B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5325B2
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5325B2#FFFFFF#000000##FFFFFF
##5325B21.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB6
Deuteranopia (green-blind)
#0044AF
Tritanopia (blue-blind)
#2E4E6C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5325b2;
/* rgb */ color: rgb(83, 37, 178);
/* oklch */ color: oklch(42.4% 0.203 289.5);
Tailwind
colors: {
  custom: {
    50: '#8e66ca',
    500: '#5325b2',
    950: '#000000',
  },
}
SCSS
$custom: #5325b2;
$custom-light: #8e66ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5325b2",
  "rgb": {
    "r": 83,
    "g": 37,
    "b": 178
  },
  "hsl": {
    "h": 259.574,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42355,
    "c": 0.20285,
    "h": 289.5
  },
  "luminance": 0.06376
}

Semantic roles & 50–950 ramp

primary
#5325B2
secondary
#AAC86B
accent
#E93FB1
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5325B2

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

Preview Lab → · Contrast checker → · Palette generator →

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