#532793#532793

#532793 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.166 H 296.7°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#532793
RGBrgb(83, 39, 147)
HSLhsl(264, 58%, 36%)
HSVhsv(264, 73%, 58%)
CMYKcmyk(43.5%, 73.5%, 0%, 42.4%)
CIE-LABlab(27.84, 43.57, -51.81)
CIE-LCHlch(27.84, 67.69, 310.06°)
OKLaboklab(39.73% 0.0745 -0.1482)
OKLCHoklch(39.73% 0.166 296.7)
XYZxyz(9.5579, 5.3964, 28.1361)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532793 #679327
analogous
#273193 #532793 #892793
triadic
#532793 #935327 #279353
tetradic
#532793 #932731 #679327 #279389
square
#532793 #932731 #679327 #279389
split-complementary
#532793 #938927 #319327
monochromatic
#1C0D32 #381A63 #532793 #6E34C3 #8F60D5

Accessibility & contrast

On white

10.10
#532793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#532793 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532793
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532793#FFFFFF#000000##FFFFFF
##5327931.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#004091
Tritanopia (blue-blind)
#42425A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #532793;
/* rgb */ color: rgb(83, 39, 147);
/* oklch */ color: oklch(39.7% 0.166 296.7);
Tailwind
colors: {
  custom: {
    50: '#8965b4',
    500: '#532793',
    950: '#000000',
  },
}
SCSS
$custom: #532793;
$custom-light: #8965b4;
$custom-dark: #000000;
JSON
{
  "hex": "#532793",
  "rgb": {
    "r": 83,
    "g": 39,
    "b": 147
  },
  "hsl": {
    "h": 264.444,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3973,
    "c": 0.16584,
    "h": 296.7
  },
  "luminance": 0.05397
}

Semantic roles & 50–950 ramp

primary
#532793
secondary
#94BA5C
accent
#E147A2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532793

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

Preview Lab → · Contrast checker → · Palette generator →

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