#532FAF#532FAF

#532FAF is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.2% C 0.189 H 288.7°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#532FAF
RGBrgb(83, 47, 175)
HSLhsl(257, 58%, 44%)
HSVhsv(257, 73%, 69%)
CMYKcmyk(52.6%, 73.1%, 0%, 31.4%)
CIE-LABlab(31.73, 47.30, -62.42)
CIE-LCHlch(31.73, 78.32, 307.16°)
OKLaboklab(43.24% 0.0609 -0.1794)
OKLCHoklch(43.24% 0.189 288.7)
XYZxyz(12.3194, 6.9666, 41.2447)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532FAF #8BAF2F
analogous
#2F4BAF #532FAF #932FAF
triadic
#532FAF #AF532F #2FAF53
tetradic
#532FAF #AF2F4B #8BAF2F #2FAF93
square
#532FAF #AF2F4B #8BAF2F #2FAF93
split-complementary
#532FAF #AF932F #4BAF2F
monochromatic
#25154F #3C227F #532FAF #714CCF #977CDC

Accessibility & contrast

On white

8.77
#532FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#532FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532FAF
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532FAF#FFFFFF#000000##FFFFFF
##532FAF1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#0047AD
Tritanopia (blue-blind)
#30516C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #532faf;
/* rgb */ color: rgb(83, 47, 175);
/* oklch */ color: oklch(43.2% 0.189 288.7);
Tailwind
colors: {
  custom: {
    50: '#8d6bc8',
    500: '#532faf',
    950: '#000000',
  },
}
SCSS
$custom: #532faf;
$custom-light: #8d6bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#532faf",
  "rgb": {
    "r": 83,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 256.875,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43244,
    "c": 0.18941,
    "h": 288.7
  },
  "luminance": 0.06967
}

Semantic roles & 50–950 ramp

primary
#532FAF
secondary
#AEC475
accent
#E147B6
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #532FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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