#532287#532287

#532287 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.158 H 301.2°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#532287
RGBrgb(83, 34, 135)
HSLhsl(269, 60%, 33%)
HSVhsv(269, 75%, 53%)
CMYKcmyk(38.5%, 74.8%, 0%, 47.1%)
CIE-LABlab(25.96, 42.84, -47.43)
CIE-LCHlch(25.96, 63.91, 312.09°)
OKLaboklab(38.09% 0.082 -0.1353)
OKLCHoklch(38.09% 0.158 301.2)
XYZxyz(8.5114, 4.7323, 23.3820)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532287 #568722
analogous
#222387 #532287 #852287
triadic
#532287 #875322 #228753
tetradic
#532287 #872223 #568722 #228785
square
#532287 #872223 #568722 #228785
split-complementary
#532287 #878522 #238722
monochromatic
#170925 #351656 #532287 #712EB8 #9050D3

Accessibility & contrast

On white

10.79
#532287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#532287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532287
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532287#FFFFFF#000000##FFFFFF
##5322871.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8A
Deuteranopia (green-blind)
#003D85
Tritanopia (blue-blind)
#483B52
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #532287;
/* rgb */ color: rgb(83, 34, 135);
/* oklch */ color: oklch(38.1% 0.158 301.2);
Tailwind
colors: {
  custom: {
    50: '#8862ab',
    500: '#532287',
    950: '#000000',
  },
}
SCSS
$custom: #532287;
$custom-light: #8862ab;
$custom-dark: #000000;
JSON
{
  "hex": "#532287",
  "rgb": {
    "r": 83,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 269.109,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38086,
    "c": 0.1582,
    "h": 301.2
  },
  "luminance": 0.04732
}

Semantic roles & 50–950 ramp

primary
#532287
secondary
#84B74E
accent
#E34596
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #532287

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

Preview Lab → · Contrast checker → · Palette generator →

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