#532279#532279

#532279 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.9% C 0.142 H 306.4°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#532279
RGBrgb(83, 34, 121)
HSLhsl(274, 56%, 30%)
HSVhsv(274, 72%, 47%)
CMYKcmyk(31.4%, 71.9%, 0%, 52.5%)
CIE-LABlab(24.84, 39.28, -40.42)
CIE-LCHlch(24.84, 56.36, 314.18°)
OKLaboklab(36.94% 0.0845 -0.1147)
OKLCHoklch(36.94% 0.142 306.4)
XYZxyz(7.5898, 4.3636, 18.5279)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532279 #487922
analogous
#272279 #532279 #792273
triadic
#532279 #795322 #227953
tetradic
#532279 #792722 #487922 #227379
square
#532279 #792722 #487922 #227379
split-complementary
#532279 #737922 #227927
monochromatic
#110719 #321549 #532279 #742FA9 #9349CC

Accessibility & contrast

On white

11.21
#532279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#532279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532279
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532279#FFFFFF#000000##FFFFFF
##5322791.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#063B77
Tritanopia (blue-blind)
#4C364B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #532279;
/* rgb */ color: rgb(83, 34, 121);
/* oklch */ color: oklch(36.9% 0.142 306.4);
Tailwind
colors: {
  custom: {
    50: '#8761a0',
    500: '#532279',
    950: '#000000',
  },
}
SCSS
$custom: #532279;
$custom-light: #8761a0;
$custom-dark: #000000;
JSON
{
  "hex": "#532279",
  "rgb": {
    "r": 83,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 273.793,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3694,
    "c": 0.14245,
    "h": 306.4
  },
  "luminance": 0.04364
}

Semantic roles & 50–950 ramp

primary
#532279
secondary
#75AC4B
accent
#DF488A
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #532279

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

Preview Lab → · Contrast checker → · Palette generator →

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