#5325A8#5325A8

#5325A8 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.192 H 291.7°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#5325A8
RGBrgb(83, 37, 168)
HSLhsl(261, 64%, 40%)
HSVhsv(261, 78%, 66%)
CMYKcmyk(50.6%, 78%, 0%, 34.1%)
CIE-LABlab(29.38, 50.20, -62.07)
CIE-LCHlch(29.38, 79.82, 308.96°)
OKLaboklab(41.4% 0.0708 -0.1783)
OKLCHoklch(41.4% 0.192 291.7)
XYZxyz(11.2947, 5.9889, 37.5990)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5325A8 #7AA825
analogous
#2538A8 #5325A8 #9525A8
triadic
#5325A8 #A85325 #25A853
tetradic
#5325A8 #A82538 #7AA825 #25A895
square
#5325A8 #A82538 #7AA825 #25A895
split-complementary
#5325A8 #A89525 #38A825
monochromatic
#210F44 #3A1A76 #5325A8 #6E37D3 #9269DE

Accessibility & contrast

On white

9.56
#5325A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#5325A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5325A8
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5325A8#FFFFFF#000000##FFFFFF
##5325A81.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#0042A6
Tritanopia (blue-blind)
#364A66
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5325a8;
/* rgb */ color: rgb(83, 37, 168);
/* oklch */ color: oklch(41.4% 0.192 291.7);
Tailwind
colors: {
  custom: {
    50: '#8c65c3',
    500: '#5325a8',
    950: '#000000',
  },
}
SCSS
$custom: #5325a8;
$custom-light: #8c65c3;
$custom-dark: #000000;
JSON
{
  "hex": "#5325a8",
  "rgb": {
    "r": 83,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 261.069,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41398,
    "c": 0.1918,
    "h": 291.7
  },
  "luminance": 0.05989
}

Semantic roles & 50–950 ramp

primary
#5325A8
secondary
#A3C465
accent
#E741AD
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5325A8

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

Preview Lab → · Contrast checker → · Palette generator →

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