#532FA8#532FA8

#532FA8 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.6% C 0.181 H 290.2°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#532FA8
RGBrgb(83, 47, 168)
HSLhsl(258, 56%, 42%)
HSVhsv(258, 72%, 66%)
CMYKcmyk(50.6%, 72%, 0%, 34.1%)
CIE-LABlab(31.11, 45.30, -59.24)
CIE-LCHlch(31.11, 74.57, 307.41°)
OKLaboklab(42.61% 0.0624 -0.17)
OKLCHoklch(42.61% 0.181 290.2)
XYZxyz(11.6497, 6.6987, 37.7173)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532FA8 #84A82F
analogous
#2F48A8 #532FA8 #8F2FA8
triadic
#532FA8 #A8532F #2FA853
tetradic
#532FA8 #A82F48 #84A82F #2FA88F
square
#532FA8 #A82F48 #84A82F #2FA88F
split-complementary
#532FA8 #A88F2F #48A82F
monochromatic
#241448 #3B2278 #532FA8 #6F48CC #9578D9

Accessibility & contrast

On white

8.98
#532FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#532FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532FA8
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532FA8#FFFFFF#000000##FFFFFF
##532FA81.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#0046A6
Tritanopia (blue-blind)
#364F68
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #532fa8;
/* rgb */ color: rgb(83, 47, 168);
/* oklch */ color: oklch(42.6% 0.181 290.2);
Tailwind
colors: {
  custom: {
    50: '#8c6bc3',
    500: '#532fa8',
    950: '#000000',
  },
}
SCSS
$custom: #532fa8;
$custom-light: #8c6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#532fa8",
  "rgb": {
    "r": 83,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 257.851,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42614,
    "c": 0.18112,
    "h": 290.2
  },
  "luminance": 0.06699
}

Semantic roles & 50–950 ramp

primary
#532FA8
secondary
#AAC171
accent
#E048B3
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #532FA8

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

Preview Lab → · Contrast checker → · Palette generator →

#532FA8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva