#532397#532397

#532397 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.175 H 296.2°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#532397
RGBrgb(83, 35, 151)
HSLhsl(265, 62%, 36%)
HSVhsv(265, 77%, 59%)
CMYKcmyk(45%, 76.8%, 0%, 40.8%)
CIE-LABlab(27.50, 46.56, -54.81)
CIE-LCHlch(27.50, 71.92, 310.35°)
OKLaboklab(39.61% 0.0772 -0.157)
OKLCHoklch(39.61% 0.175 296.2)
XYZxyz(9.7527, 5.2752, 29.7765)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532397 #679723
analogous
#232D97 #532397 #8D2397
triadic
#532397 #975323 #239753
tetradic
#532397 #97232D #679723 #23978D
square
#532397 #97232D #679723 #23978D
split-complementary
#532397 #978D23 #2D9723
monochromatic
#1C0C34 #381765 #532397 #6E2FC9 #8F5BD9

Accessibility & contrast

On white

10.22
#532397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#532397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532397
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532397#FFFFFF#000000##FFFFFF
##5323971.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#40425C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #532397;
/* rgb */ color: rgb(83, 35, 151);
/* oklch */ color: oklch(39.6% 0.175 296.2);
Tailwind
colors: {
  custom: {
    50: '#8a63b7',
    500: '#532397',
    950: '#000000',
  },
}
SCSS
$custom: #532397;
$custom-light: #8a63b7;
$custom-dark: #000000;
JSON
{
  "hex": "#532397",
  "rgb": {
    "r": 83,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 264.828,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39605,
    "c": 0.17493,
    "h": 296.2
  },
  "luminance": 0.05275
}

Semantic roles & 50–950 ramp

primary
#532397
secondary
#94BE58
accent
#E542A2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #532397

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

Preview Lab → · Contrast checker → · Palette generator →

#532397 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva