#532275#532275

#532275 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.6% C 0.138 H 308.1°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#532275
RGBrgb(83, 34, 117)
HSLhsl(275, 55%, 30%)
HSVhsv(275, 71%, 46%)
CMYKcmyk(29.1%, 70.9%, 0%, 54.1%)
CIE-LABlab(24.54, 38.29, -38.36)
CIE-LCHlch(24.54, 54.19, 314.95°)
OKLaboklab(36.63% 0.085 -0.1086)
OKLCHoklch(36.63% 0.138 308.1)
XYZxyz(7.3495, 4.2675, 17.2627)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532275 #447522
analogous
#2A2275 #532275 #75226E
triadic
#532275 #755322 #227553
tetradic
#532275 #752A22 #447522 #226E75
square
#532275 #752A22 #447522 #226E75
split-complementary
#532275 #6E7522 #22752A
monochromatic
#110718 #311446 #532275 #7530A4 #9448CA

Accessibility & contrast

On white

11.33
#532275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#532275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532275
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532275#FFFFFF#000000##FFFFFF
##5322751.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#103B73
Tritanopia (blue-blind)
#4E3448
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #532275;
/* rgb */ color: rgb(83, 34, 117);
/* oklch */ color: oklch(36.6% 0.138 308.1);
Tailwind
colors: {
  custom: {
    50: '#87619d',
    500: '#532275',
    950: '#000000',
  },
}
SCSS
$custom: #532275;
$custom-light: #87619d;
$custom-dark: #000000;
JSON
{
  "hex": "#532275",
  "rgb": {
    "r": 83,
    "g": 34,
    "b": 117
  },
  "hsl": {
    "h": 275.422,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36628,
    "c": 0.13795,
    "h": 308.1
  },
  "luminance": 0.04267
}

Semantic roles & 50–950 ramp

primary
#532275
secondary
#71A84B
accent
#DE4986
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #532275

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

Preview Lab → · Contrast checker → · Palette generator →

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