#532995#532995

#532995 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.166 H 295.8°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#532995
RGBrgb(83, 41, 149)
HSLhsl(263, 57%, 37%)
HSVhsv(263, 72%, 58%)
CMYKcmyk(44.3%, 72.5%, 0%, 41.6%)
CIE-LABlab(28.37, 43.10, -52.18)
CIE-LCHlch(28.37, 67.67, 309.56°)
OKLaboklab(40.16% 0.0721 -0.1493)
OKLCHoklch(40.16% 0.166 295.8)
XYZxyz(9.7836, 5.5946, 28.9923)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532995 #6B9529
analogous
#293595 #532995 #892995
triadic
#532995 #955329 #299553
tetradic
#532995 #952935 #6B9529 #299589
square
#532995 #952935 #6B9529 #299589
split-complementary
#532995 #958929 #359529
monochromatic
#1E0F35 #381C65 #532995 #6E36C5 #9064D4

Accessibility & contrast

On white

9.91
#532995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#532995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532995
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532995#FFFFFF#000000##FFFFFF
##5329951.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#004193
Tritanopia (blue-blind)
#41445C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #532995;
/* rgb */ color: rgb(83, 41, 149);
/* oklch */ color: oklch(40.2% 0.166 295.8);
Tailwind
colors: {
  custom: {
    50: '#8a66b5',
    500: '#532995',
    950: '#000000',
  },
}
SCSS
$custom: #532995;
$custom-light: #8a66b5;
$custom-dark: #000000;
JSON
{
  "hex": "#532995",
  "rgb": {
    "r": 83,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 263.333,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40159,
    "c": 0.16576,
    "h": 295.8
  },
  "luminance": 0.05595
}

Semantic roles & 50–950 ramp

primary
#532995
secondary
#97BA60
accent
#E048A5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532995

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

Preview Lab → · Contrast checker → · Palette generator →

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