#5325A0#5325A0

#5325A0 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.183 H 293.5°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#5325A0
RGBrgb(83, 37, 160)
HSLhsl(262, 62%, 39%)
HSVhsv(262, 77%, 63%)
CMYKcmyk(48.1%, 76.9%, 0%, 37.3%)
CIE-LABlab(28.64, 48.04, -58.44)
CIE-LCHlch(28.64, 75.65, 309.42°)
OKLaboklab(40.65% 0.0731 -0.1676)
OKLCHoklch(40.65% 0.183 293.5)
XYZxyz(10.5723, 5.6999, 33.7940)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5325A0 #72A025
analogous
#2534A0 #5325A0 #9025A0
triadic
#5325A0 #A05325 #25A053
tetradic
#5325A0 #A02534 #72A025 #25A090
square
#5325A0 #A02534 #72A025 #25A090
split-complementary
#5325A0 #A09025 #34A025
monochromatic
#1F0E3D #391A6E #5325A0 #6D32D0 #9164DB

Accessibility & contrast

On white

9.81
#5325A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#5325A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5325A0
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5325A0#FFFFFF#000000##FFFFFF
##5325A01.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#00419E
Tritanopia (blue-blind)
#3B4761
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5325a0;
/* rgb */ color: rgb(83, 37, 160);
/* oklch */ color: oklch(40.7% 0.183 293.5);
Tailwind
colors: {
  custom: {
    50: '#8b65bd',
    500: '#5325a0',
    950: '#000000',
  },
}
SCSS
$custom: #5325a0;
$custom-light: #8b65bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5325a0",
  "rgb": {
    "r": 83,
    "g": 37,
    "b": 160
  },
  "hsl": {
    "h": 262.439,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40652,
    "c": 0.18287,
    "h": 293.5
  },
  "luminance": 0.057
}

Semantic roles & 50–950 ramp

primary
#5325A0
secondary
#9DC160
accent
#E642A8
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5325A0

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

Preview Lab → · Contrast checker → · Palette generator →

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