#532282#532282

#532282 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.153 H 303.0°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#532282
RGBrgb(83, 34, 130)
HSLhsl(271, 59%, 32%)
HSVhsv(271, 74%, 51%)
CMYKcmyk(36.2%, 73.8%, 0%, 49%)
CIE-LABlab(25.55, 41.56, -44.96)
CIE-LCHlch(25.55, 61.22, 312.75°)
OKLaboklab(37.67% 0.083 -0.128)
OKLCHoklch(37.67% 0.153 303)
XYZxyz(8.1676, 4.5948, 21.5713)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532282 #518222
analogous
#232282 #532282 #822281
triadic
#532282 #825322 #228253
tetradic
#532282 #822322 #518222 #228182
square
#532282 #822322 #518222 #228182
split-complementary
#532282 #818222 #228223
monochromatic
#150921 #341551 #532282 #722FB3 #914ED1

Accessibility & contrast

On white

10.94
#532282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#532282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532282
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532282#FFFFFF#000000##FFFFFF
##5322821.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#003C80
Tritanopia (blue-blind)
#493950
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #532282;
/* rgb */ color: rgb(83, 34, 130);
/* oklch */ color: oklch(37.7% 0.153 303.0);
Tailwind
colors: {
  custom: {
    50: '#8862a7',
    500: '#532282',
    950: '#000000',
  },
}
SCSS
$custom: #532282;
$custom-light: #8862a7;
$custom-dark: #000000;
JSON
{
  "hex": "#532282",
  "rgb": {
    "r": 83,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 270.625,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37667,
    "c": 0.15258,
    "h": 303
  },
  "luminance": 0.04595
}

Semantic roles & 50–950 ramp

primary
#532282
secondary
#7FB44C
accent
#E24692
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #532282

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

Preview Lab → · Contrast checker → · Palette generator →

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