#5325B1#5325B1

#5325B1 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.3% C 0.202 H 289.7°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#5325B1
RGBrgb(83, 37, 177)
HSLhsl(260, 65%, 42%)
HSVhsv(260, 79%, 69%)
CMYKcmyk(53.1%, 79.1%, 0%, 30.6%)
CIE-LABlab(30.24, 52.63, -66.05)
CIE-LCHlch(30.24, 84.45, 308.55°)
OKLaboklab(42.26% 0.0681 -0.1899)
OKLCHoklch(42.26% 0.202 289.7)
XYZxyz(12.1624, 6.3359, 42.1685)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5325B1 #83B125
analogous
#253DB1 #5325B1 #9925B1
triadic
#5325B1 #B15325 #25B153
tetradic
#5325B1 #B1253D #83B125 #25B199
square
#5325B1 #B1253D #83B125 #25B199
split-complementary
#5325B1 #B19925 #3DB125
monochromatic
#24104C #3B1A7E #5325B1 #6F3DD6 #956FE1

Accessibility & contrast

On white

9.26
#5325B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#5325B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5325B1
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5325B1#FFFFFF#000000##FFFFFF
##5325B11.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#0044AE
Tritanopia (blue-blind)
#2F4E6B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5325b1;
/* rgb */ color: rgb(83, 37, 177);
/* oklch */ color: oklch(42.3% 0.202 289.7);
Tailwind
colors: {
  custom: {
    50: '#8e66ca',
    500: '#5325b1',
    950: '#000000',
  },
}
SCSS
$custom: #5325b1;
$custom-light: #8e66ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5325b1",
  "rgb": {
    "r": 83,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 259.714,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42258,
    "c": 0.20175,
    "h": 289.7
  },
  "luminance": 0.06336
}

Semantic roles & 50–950 ramp

primary
#5325B1
secondary
#A9C86A
accent
#E83FB1
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5325B1

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

Preview Lab → · Contrast checker → · Palette generator →

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