#532DCC#532DCC

#532DCC is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.8% C 0.225 H 284.1°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#532DCC
RGBrgb(83, 45, 204)
HSLhsl(254, 64%, 49%)
HSVhsv(254, 78%, 80%)
CMYKcmyk(59.3%, 77.9%, 0%, 20%)
CIE-LABlab(34.14, 56.48, -75.55)
CIE-LCHlch(34.14, 94.33, 306.78°)
OKLaboklab(45.76% 0.0547 -0.2178)
OKLCHoklch(45.76% 0.225 284.1)
XYZxyz(15.4014, 8.0744, 57.8620)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532DCC #A6CC2D
analogous
#2D57CC #532DCC #A32DCC
triadic
#532DCC #CC532D #2DCC53
tetradic
#532DCC #CC2D57 #A6CC2D #2DCCA3
square
#532DCC #CC2D57 #A6CC2D #2DCCA3
split-complementary
#532DCC #CCA32D #57CC2D
monochromatic
#2A1768 #3F229A #532DCC #7A5BDB #A38DE6

Accessibility & contrast

On white

8.03
#532DCC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#532DCC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532DCC
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532DCC#FFFFFF#000000##FFFFFF
##532DCC1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D0
Deuteranopia (green-blind)
#004BC9
Tritanopia (blue-blind)
#005C7C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #532dcc;
/* rgb */ color: rgb(83, 45, 204);
/* oklch */ color: oklch(45.8% 0.225 284.1);
Tailwind
colors: {
  custom: {
    50: '#926bdd',
    500: '#532dcc',
    950: '#000000',
  },
}
SCSS
$custom: #532dcc;
$custom-light: #926bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#532dcc",
  "rgb": {
    "r": 83,
    "g": 45,
    "b": 204
  },
  "hsl": {
    "h": 254.34,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45763,
    "c": 0.22453,
    "h": 284.1
  },
  "luminance": 0.08075
}

Semantic roles & 50–950 ramp

primary
#532DCC
secondary
#BED085
accent
#E741BF
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #532DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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