#532194#532194

#532194 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.174 H 297.3°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#532194
RGBrgb(83, 33, 148)
HSLhsl(266, 64%, 35%)
HSVhsv(266, 78%, 58%)
CMYKcmyk(43.9%, 77.7%, 0%, 42%)
CIE-LABlab(26.92, 46.68, -53.93)
CIE-LCHlch(26.92, 71.32, 310.88°)
OKLaboklab(39.11% 0.0798 -0.1544)
OKLCHoklch(39.11% 0.174 297.3)
XYZxyz(9.4550, 5.0646, 28.4907)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532194 #629421
analogous
#212894 #532194 #8C2194
triadic
#532194 #945321 #219453
tetradic
#532194 #942128 #629421 #21948C
square
#532194 #942128 #629421 #21948C
split-complementary
#532194 #948C21 #289421
monochromatic
#1B0B30 #371662 #532194 #6F2CC6 #8F56D9

Accessibility & contrast

On white

10.43
#532194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#532194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532194
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532194#FFFFFF#000000##FFFFFF
##5321941.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003E92
Tritanopia (blue-blind)
#424059
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #532194;
/* rgb */ color: rgb(83, 33, 148);
/* oklch */ color: oklch(39.1% 0.174 297.3);
Tailwind
colors: {
  custom: {
    50: '#8a62b4',
    500: '#532194',
    950: '#000000',
  },
}
SCSS
$custom: #532194;
$custom-light: #8a62b4;
$custom-dark: #000000;
JSON
{
  "hex": "#532194",
  "rgb": {
    "r": 83,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 266.087,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39111,
    "c": 0.17375,
    "h": 297.3
  },
  "luminance": 0.05065
}

Semantic roles & 50–950 ramp

primary
#532194
secondary
#8FBD54
accent
#E7419F
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #532194

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

Preview Lab → · Contrast checker → · Palette generator →

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