#532795#532795

#532795 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.168 H 296.1°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#532795
RGBrgb(83, 39, 149)
HSLhsl(264, 59%, 37%)
HSVhsv(264, 74%, 58%)
CMYKcmyk(44.3%, 73.8%, 0%, 41.6%)
CIE-LABlab(28.01, 44.11, -52.76)
CIE-LCHlch(28.01, 68.77, 309.89°)
OKLaboklab(39.9% 0.074 -0.151)
OKLCHoklch(39.9% 0.168 296.1)
XYZxyz(9.7162, 5.4597, 28.9699)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532795 #699527
analogous
#273295 #532795 #8A2795
triadic
#532795 #955327 #279553
tetradic
#532795 #952732 #699527 #27958A
square
#532795 #952732 #699527 #27958A
split-complementary
#532795 #958A27 #329527
monochromatic
#1D0E34 #381A64 #532795 #6E34C6 #9061D6

Accessibility & contrast

On white

10.04
#532795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#532795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532795
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532795#FFFFFF#000000##FFFFFF
##5327951.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#004193
Tritanopia (blue-blind)
#41435B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #532795;
/* rgb */ color: rgb(83, 39, 149);
/* oklch */ color: oklch(39.9% 0.168 296.1);
Tailwind
colors: {
  custom: {
    50: '#8a65b5',
    500: '#532795',
    950: '#000000',
  },
}
SCSS
$custom: #532795;
$custom-light: #8a65b5;
$custom-dark: #000000;
JSON
{
  "hex": "#532795",
  "rgb": {
    "r": 83,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 264,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39904,
    "c": 0.16815,
    "h": 296.1
  },
  "luminance": 0.0546
}

Semantic roles & 50–950 ramp

primary
#532795
secondary
#95BB5D
accent
#E246A3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532795

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

Preview Lab → · Contrast checker → · Palette generator →

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