#532175#532175

#532175 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.139 H 308.2°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#532175
RGBrgb(83, 33, 117)
HSLhsl(276, 56%, 29%)
HSVhsv(276, 72%, 46%)
CMYKcmyk(29.1%, 71.8%, 0%, 54.1%)
CIE-LABlab(24.36, 38.79, -38.64)
CIE-LCHlch(24.36, 54.75, 315.11°)
OKLaboklab(36.5% 0.0862 -0.1095)
OKLCHoklch(36.5% 0.139 308.2)
XYZxyz(7.3214, 4.2112, 17.2533)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532175 #437521
analogous
#292175 #532175 #75216D
triadic
#532175 #755321 #217553
tetradic
#532175 #752921 #437521 #216D75
square
#532175 #752921 #437521 #216D75
split-complementary
#532175 #6D7521 #217529
monochromatic
#110718 #311445 #532175 #752EA5 #9546CB

Accessibility & contrast

On white

11.40
#532175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#532175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532175
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532175#FFFFFF#000000##FFFFFF
##5321751.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#0E3A73
Tritanopia (blue-blind)
#4E3348
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #532175;
/* rgb */ color: rgb(83, 33, 117);
/* oklch */ color: oklch(36.5% 0.139 308.2);
Tailwind
colors: {
  custom: {
    50: '#87619d',
    500: '#532175',
    950: '#000000',
  },
}
SCSS
$custom: #532175;
$custom-light: #87619d;
$custom-dark: #000000;
JSON
{
  "hex": "#532175",
  "rgb": {
    "r": 83,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 275.714,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.365,
    "c": 0.13934,
    "h": 308.2
  },
  "luminance": 0.04211
}

Semantic roles & 50–950 ramp

primary
#532175
secondary
#70A84A
accent
#DF4986
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #532175

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

Preview Lab → · Contrast checker → · Palette generator →

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