#52389B#52389B

#52389B is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.7% C 0.154 H 290.5°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#52389B
RGBrgb(82, 56, 155)
HSLhsl(256, 47%, 41%)
HSVhsv(256, 64%, 61%)
CMYKcmyk(47.1%, 63.9%, 0%, 39.2%)
CIE-LABlab(31.78, 36.29, -50.29)
CIE-LCHlch(31.78, 62.02, 305.81°)
OKLaboklab(42.74% 0.0538 -0.1438)
OKLCHoklch(42.74% 0.154 290.5)
XYZxyz(10.8086, 6.9883, 31.7834)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52389B #819B38
analogous
#38509B #52389B #84389B
triadic
#52389B #9B5238 #389B52
tetradic
#52389B #9B3850 #819B38 #389B84
square
#52389B #9B3850 #819B38 #389B84
split-complementary
#52389B #9B8438 #509B38
monochromatic
#221841 #3A286E #52389B #6E50C0 #937DD0

Accessibility & contrast

On white

8.76
#52389B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#52389B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52389B
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52389B#FFFFFF#000000##FFFFFF
##52389B1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#004999
Tritanopia (blue-blind)
#3B4F64
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #52389b;
/* rgb */ color: rgb(82, 56, 155);
/* oklch */ color: oklch(42.7% 0.154 290.5);
Tailwind
colors: {
  custom: {
    50: '#8970b9',
    500: '#52389b',
    950: '#000000',
  },
}
SCSS
$custom: #52389b;
$custom-light: #8970b9;
$custom-dark: #000000;
JSON
{
  "hex": "#52389b",
  "rgb": {
    "r": 82,
    "g": 56,
    "b": 155
  },
  "hsl": {
    "h": 255.758,
    "s": 46.919,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42738,
    "c": 0.15353,
    "h": 290.5
  },
  "luminance": 0.06989
}

Semantic roles & 50–950 ramp

primary
#52389B
secondary
#A8B975
accent
#D751B4
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #52389B

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

Preview Lab → · Contrast checker → · Palette generator →

#52389B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva