#5325AF#5325AF

#5325AF is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.200 H 290.1°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#5325AF
RGBrgb(83, 37, 175)
HSLhsl(260, 65%, 42%)
HSVhsv(260, 79%, 69%)
CMYKcmyk(52.6%, 78.9%, 0%, 31.4%)
CIE-LABlab(30.05, 52.09, -65.17)
CIE-LCHlch(30.05, 83.43, 308.63°)
OKLaboklab(42.07% 0.0687 -0.1874)
OKLCHoklch(42.07% 0.2 290.1)
XYZxyz(11.9645, 6.2568, 41.1264)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5325AF #81AF25
analogous
#253CAF #5325AF #9825AF
triadic
#5325AF #AF5325 #25AF53
tetradic
#5325AF #AF253C #81AF25 #25AF98
square
#5325AF #AF253C #81AF25 #25AF98
split-complementary
#5325AF #AF9825 #3CAF25
monochromatic
#23104A #3B1A7C #5325AF #6F3CD6 #946EE0

Accessibility & contrast

On white

9.33
#5325AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#5325AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5325AF
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5325AF#FFFFFF#000000##FFFFFF
##5325AF1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#314D6A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5325af;
/* rgb */ color: rgb(83, 37, 175);
/* oklch */ color: oklch(42.1% 0.200 290.1);
Tailwind
colors: {
  custom: {
    50: '#8d66c8',
    500: '#5325af',
    950: '#000000',
  },
}
SCSS
$custom: #5325af;
$custom-light: #8d66c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5325af",
  "rgb": {
    "r": 83,
    "g": 37,
    "b": 175
  },
  "hsl": {
    "h": 260,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42065,
    "c": 0.19955,
    "h": 290.1
  },
  "luminance": 0.06257
}

Semantic roles & 50–950 ramp

primary
#5325AF
secondary
#A8C769
accent
#E840B0
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5325AF

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

Preview Lab → · Contrast checker → · Palette generator →

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