#532074#532074

#532074 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.140 H 308.8°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#532074
RGBrgb(83, 32, 116)
HSLhsl(276, 57%, 29%)
HSVhsv(276, 72%, 45%)
CMYKcmyk(28.4%, 72.4%, 0%, 54.5%)
CIE-LABlab(24.11, 39.03, -38.41)
CIE-LCHlch(24.11, 54.76, 315.46°)
OKLaboklab(36.3% 0.0875 -0.1088)
OKLCHoklch(36.3% 0.14 308.8)
XYZxyz(7.2355, 4.1331, 16.9362)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532074 #417420
analogous
#292074 #532074 #74206B
triadic
#532074 #745320 #207453
tetradic
#532074 #742920 #417420 #206B74
square
#532074 #742920 #417420 #206B74
split-complementary
#532074 #6B7420 #207429
monochromatic
#110718 #311344 #532074 #752DA4 #9643CB

Accessibility & contrast

On white

11.50
#532074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#532074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532074
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532074#FFFFFF#000000##FFFFFF
##5320741.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003776
Deuteranopia (green-blind)
#0E3A72
Tritanopia (blue-blind)
#4E3247
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #532074;
/* rgb */ color: rgb(83, 32, 116);
/* oklch */ color: oklch(36.3% 0.140 308.8);
Tailwind
colors: {
  custom: {
    50: '#87609d',
    500: '#532074',
    950: '#000000',
  },
}
SCSS
$custom: #532074;
$custom-light: #87609d;
$custom-dark: #000000;
JSON
{
  "hex": "#532074",
  "rgb": {
    "r": 83,
    "g": 32,
    "b": 116
  },
  "hsl": {
    "h": 276.429,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36297,
    "c": 0.13959,
    "h": 308.8
  },
  "luminance": 0.04133
}

Semantic roles & 50–950 ramp

primary
#532074
secondary
#6EA848
accent
#E04884
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #532074

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

Preview Lab → · Contrast checker → · Palette generator →

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