#52195F#52195F

#52195F is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.127 H 319.6°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#52195F
RGBrgb(82, 25, 95)
HSLhsl(289, 58%, 24%)
HSVhsv(289, 74%, 37%)
CMYKcmyk(13.7%, 73.7%, 0%, 62.7%)
CIE-LABlab(21.27, 37.26, -29.33)
CIE-LCHlch(21.27, 47.42, 321.79°)
OKLaboklab(33.75% 0.0964 -0.0821)
OKLCHoklch(33.75% 0.127 319.6)
XYZxyz(5.8926, 3.3156, 11.1538)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52195F #265F19
analogous
#2F195F #52195F #5F1949
triadic
#52195F #5F5219 #195F52
tetradic
#52195F #5F2F19 #265F19 #19495F
square
#52195F #5F2F19 #265F19 #19495F
split-complementary
#52195F #495F19 #195F2F
monochromatic
#150618 #280C2F #52195F #7C268F #A632C0

Accessibility & contrast

On white

12.63
#52195F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#52195F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52195F
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52195F#FFFFFF#000000##FFFFFF
##52195F1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F61
Deuteranopia (green-blind)
#1E355D
Tritanopia (blue-blind)
#52263A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #52195f;
/* rgb */ color: rgb(82, 25, 95);
/* oklch */ color: oklch(33.8% 0.127 319.6);
Tailwind
colors: {
  custom: {
    50: '#855b8d',
    500: '#52195f',
    950: '#000000',
  },
}
SCSS
$custom: #52195f;
$custom-light: #855b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#52195f",
  "rgb": {
    "r": 82,
    "g": 25,
    "b": 95
  },
  "hsl": {
    "h": 288.857,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33751,
    "c": 0.12664,
    "h": 319.6
  },
  "luminance": 0.03315
}

Semantic roles & 50–950 ramp

primary
#52195F
secondary
#4F953F
accent
#E24663
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #52195F

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

Preview Lab → · Contrast checker → · Palette generator →

#52195F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva