#532294#532294

#532294 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.173 H 297.2°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#532294
RGBrgb(83, 34, 148)
HSLhsl(266, 63%, 36%)
HSVhsv(266, 77%, 58%)
CMYKcmyk(43.9%, 77%, 0%, 42%)
CIE-LABlab(27.08, 46.23, -53.67)
CIE-LCHlch(27.08, 70.83, 310.74°)
OKLaboklab(39.22% 0.0789 -0.1536)
OKLCHoklch(39.22% 0.173 297.2)
XYZxyz(9.4832, 5.1210, 28.5000)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532294 #639422
analogous
#222A94 #532294 #8C2294
triadic
#532294 #945322 #229453
tetradic
#532294 #94222A #639422 #22948C
square
#532294 #94222A #639422 #22948C
split-complementary
#532294 #948C22 #2A9422
monochromatic
#1B0B30 #371762 #532294 #6F2DC6 #8F58D9

Accessibility & contrast

On white

10.37
#532294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#532294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532294
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532294#FFFFFF#000000##FFFFFF
##5322941.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003F92
Tritanopia (blue-blind)
#42405A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #532294;
/* rgb */ color: rgb(83, 34, 148);
/* oklch */ color: oklch(39.2% 0.173 297.2);
Tailwind
colors: {
  custom: {
    50: '#8a63b4',
    500: '#532294',
    950: '#000000',
  },
}
SCSS
$custom: #532294;
$custom-light: #8a63b4;
$custom-dark: #000000;
JSON
{
  "hex": "#532294",
  "rgb": {
    "r": 83,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 265.789,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39222,
    "c": 0.17268,
    "h": 297.2
  },
  "luminance": 0.05121
}

Semantic roles & 50–950 ramp

primary
#532294
secondary
#90BD55
accent
#E6429F
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #532294

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

Preview Lab → · Contrast checker → · Palette generator →

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