#532495#532495

#532495 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.172 H 296.6°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#532495
RGBrgb(83, 36, 149)
HSLhsl(265, 61%, 36%)
HSVhsv(265, 76%, 58%)
CMYKcmyk(44.3%, 75.8%, 0%, 41.6%)
CIE-LABlab(27.49, 45.56, -53.60)
CIE-LCHlch(27.49, 70.35, 310.36°)
OKLaboklab(39.54% 0.0768 -0.1534)
OKLCHoklch(39.54% 0.172 296.6)
XYZxyz(9.6215, 5.2705, 28.9383)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532495 #669524
analogous
#242E95 #532495 #8C2495
triadic
#532495 #955324 #249553
tetradic
#532495 #95242E #669524 #24958C
square
#532495 #95242E #669524 #24958C
split-complementary
#532495 #958C24 #2E9524
monochromatic
#1C0C32 #381864 #532495 #6E30C6 #8F5CD8

Accessibility & contrast

On white

10.22
#532495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#532495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532495
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532495#FFFFFF#000000##FFFFFF
##5324951.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#41425B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #532495;
/* rgb */ color: rgb(83, 36, 149);
/* oklch */ color: oklch(39.5% 0.172 296.6);
Tailwind
colors: {
  custom: {
    50: '#8a64b5',
    500: '#532495',
    950: '#000000',
  },
}
SCSS
$custom: #532495;
$custom-light: #8a64b5;
$custom-dark: #000000;
JSON
{
  "hex": "#532495",
  "rgb": {
    "r": 83,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 264.956,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39541,
    "c": 0.17159,
    "h": 296.6
  },
  "luminance": 0.05271
}

Semantic roles & 50–950 ramp

primary
#532495
secondary
#93BC59
accent
#E444A1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532495

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

Preview Lab → · Contrast checker → · Palette generator →

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