#532274#532274

#532274 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.137 H 308.5°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#532274
RGBrgb(83, 34, 116)
HSLhsl(276, 55%, 29%)
HSVhsv(276, 71%, 45%)
CMYKcmyk(28.4%, 70.7%, 0%, 54.5%)
CIE-LABlab(24.46, 38.04, -37.84)
CIE-LCHlch(24.46, 53.65, 315.16°)
OKLaboklab(36.55% 0.0852 -0.1071)
OKLCHoklch(36.55% 0.137 308.5)
XYZxyz(7.2911, 4.2441, 16.9547)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532274 #437422
analogous
#2A2274 #532274 #74226C
triadic
#532274 #745322 #227453
tetradic
#532274 #742A22 #437422 #226C74
square
#532274 #742A22 #437422 #226C74
split-complementary
#532274 #6C7422 #22742A
monochromatic
#110718 #311445 #532274 #7530A3 #9547C9

Accessibility & contrast

On white

11.36
#532274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #532274
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532274#FFFFFF#000000##FFFFFF
##5322741.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003876
Deuteranopia (green-blind)
#113B72
Tritanopia (blue-blind)
#4E3448
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #532274;
/* rgb */ color: rgb(83, 34, 116);
/* oklch */ color: oklch(36.6% 0.137 308.5);
Tailwind
colors: {
  custom: {
    50: '#87619d',
    500: '#532274',
    950: '#000000',
  },
}
SCSS
$custom: #532274;
$custom-light: #87619d;
$custom-dark: #000000;
JSON
{
  "hex": "#532274",
  "rgb": {
    "r": 83,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 275.854,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36551,
    "c": 0.13682,
    "h": 308.5
  },
  "luminance": 0.04244
}

Semantic roles & 50–950 ramp

primary
#532274
secondary
#70A74B
accent
#DE4A85
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #532274

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

Preview Lab → · Contrast checker → · Palette generator →

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