#532895#532895

#532895 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.167 H 295.9°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#532895
RGBrgb(83, 40, 149)
HSLhsl(264, 58%, 37%)
HSVhsv(264, 73%, 58%)
CMYKcmyk(44.3%, 73.2%, 0%, 41.6%)
CIE-LABlab(28.18, 43.60, -52.47)
CIE-LCHlch(28.18, 68.22, 309.73°)
OKLaboklab(40.03% 0.073 -0.1501)
OKLCHoklch(40.03% 0.167 295.9)
XYZxyz(9.7494, 5.5263, 28.9810)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532895 #6A9528
analogous
#283395 #532895 #8A2895
triadic
#532895 #955328 #289553
tetradic
#532895 #952833 #6A9528 #28958A
square
#532895 #952833 #6A9528 #28958A
split-complementary
#532895 #958A28 #339528
monochromatic
#1D0E35 #381B65 #532895 #6E35C5 #9062D5

Accessibility & contrast

On white

9.97
#532895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#532895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532895
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532895#FFFFFF#000000##FFFFFF
##5328951.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#004193
Tritanopia (blue-blind)
#41445C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #532895;
/* rgb */ color: rgb(83, 40, 149);
/* oklch */ color: oklch(40.0% 0.167 295.9);
Tailwind
colors: {
  custom: {
    50: '#8a66b5',
    500: '#532895',
    950: '#000000',
  },
}
SCSS
$custom: #532895;
$custom-light: #8a66b5;
$custom-dark: #000000;
JSON
{
  "hex": "#532895",
  "rgb": {
    "r": 83,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 263.67,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4003,
    "c": 0.16696,
    "h": 295.9
  },
  "luminance": 0.05527
}

Semantic roles & 50–950 ramp

primary
#532895
secondary
#96BB5E
accent
#E147A4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532895

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

Preview Lab → · Contrast checker → · Palette generator →

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