#532283#532283

#532283 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.154 H 302.6°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#532283
RGBrgb(83, 34, 131)
HSLhsl(270, 59%, 32%)
HSVhsv(270, 74%, 51%)
CMYKcmyk(36.6%, 74%, 0%, 48.6%)
CIE-LABlab(25.63, 41.81, -45.46)
CIE-LCHlch(25.63, 61.76, 312.61°)
OKLaboklab(37.75% 0.0828 -0.1295)
OKLCHoklch(37.75% 0.154 302.6)
XYZxyz(8.2351, 4.6217, 21.9266)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532283 #528322
analogous
#222283 #532283 #832283
triadic
#532283 #835322 #228353
tetradic
#532283 #832222 #528322 #228383
square
#532283 #832222 #528322 #228383
split-complementary
#532283 #838322 #228322
monochromatic
#150922 #341552 #532283 #722FB4 #904ED1

Accessibility & contrast

On white

10.91
#532283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#532283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532283
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532283#FFFFFF#000000##FFFFFF
##5322831.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#493950
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #532283;
/* rgb */ color: rgb(83, 34, 131);
/* oklch */ color: oklch(37.8% 0.154 302.6);
Tailwind
colors: {
  custom: {
    50: '#8862a8',
    500: '#532283',
    950: '#000000',
  },
}
SCSS
$custom: #532283;
$custom-light: #8862a8;
$custom-dark: #000000;
JSON
{
  "hex": "#532283",
  "rgb": {
    "r": 83,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 270.309,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3775,
    "c": 0.15371,
    "h": 302.6
  },
  "luminance": 0.04622
}

Semantic roles & 50–950 ramp

primary
#532283
secondary
#80B44C
accent
#E24693
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #532283

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

Preview Lab → · Contrast checker → · Palette generator →

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