#532792#532792

#532792 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.6% C 0.165 H 297.0°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#532792
RGBrgb(83, 39, 146)
HSLhsl(265, 58%, 36%)
HSVhsv(265, 73%, 57%)
CMYKcmyk(43.2%, 73.3%, 0%, 42.7%)
CIE-LABlab(27.75, 43.29, -51.33)
CIE-LCHlch(27.75, 67.15, 310.14°)
OKLaboklab(39.64% 0.0747 -0.1468)
OKLCHoklch(39.64% 0.165 297)
XYZxyz(9.4797, 5.3652, 27.7247)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532792 #669227
analogous
#273192 #532792 #892792
triadic
#532792 #925327 #279253
tetradic
#532792 #922731 #669227 #279289
square
#532792 #922731 #669227 #279289
split-complementary
#532792 #928927 #319227
monochromatic
#1C0D31 #381A62 #532792 #6E34C2 #8F5FD4

Accessibility & contrast

On white

10.13
#532792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#532792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532792
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532792#FFFFFF#000000##FFFFFF
##5327921.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#004090
Tritanopia (blue-blind)
#43425A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #532792;
/* rgb */ color: rgb(83, 39, 146);
/* oklch */ color: oklch(39.6% 0.165 297.0);
Tailwind
colors: {
  custom: {
    50: '#8965b3',
    500: '#532792',
    950: '#000000',
  },
}
SCSS
$custom: #532792;
$custom-light: #8965b3;
$custom-dark: #000000;
JSON
{
  "hex": "#532792",
  "rgb": {
    "r": 83,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 264.673,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39644,
    "c": 0.16469,
    "h": 297
  },
  "luminance": 0.05365
}

Semantic roles & 50–950 ramp

primary
#532792
secondary
#93BA5B
accent
#E147A2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532792

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

Preview Lab → · Contrast checker → · Palette generator →

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