#52379E#52379E

#52379E is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.8% C 0.159 H 290.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#52379E
RGBrgb(82, 55, 158)
HSLhsl(256, 48%, 42%)
HSVhsv(256, 65%, 62%)
CMYKcmyk(48.1%, 65.2%, 0%, 38%)
CIE-LABlab(31.79, 37.77, -52.09)
CIE-LCHlch(31.79, 64.34, 305.94°)
OKLaboklab(42.82% 0.0546 -0.1491)
OKLCHoklch(42.82% 0.159 290.1)
XYZxyz(11.0157, 6.9944, 33.1108)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52379E #839E37
analogous
#37509E #52379E #86379E
triadic
#52379E #9E5237 #379E52
tetradic
#52379E #9E3750 #839E37 #379E86
square
#52379E #9E3750 #839E37 #379E86
split-complementary
#52379E #9E8637 #509E37
monochromatic
#231743 #3A2771 #52379E #6E50C2 #947DD2

Accessibility & contrast

On white

8.75
#52379E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#52379E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52379E
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52379E#FFFFFF#000000##FFFFFF
##52379E1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#3A5065
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #52379e;
/* rgb */ color: rgb(82, 55, 158);
/* oklch */ color: oklch(42.8% 0.159 290.1);
Tailwind
colors: {
  custom: {
    50: '#896fbb',
    500: '#52379e',
    950: '#000000',
  },
}
SCSS
$custom: #52379e;
$custom-light: #896fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#52379e",
  "rgb": {
    "r": 82,
    "g": 55,
    "b": 158
  },
  "hsl": {
    "h": 255.728,
    "s": 48.357,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42821,
    "c": 0.15878,
    "h": 290.1
  },
  "luminance": 0.06995
}

Semantic roles & 50–950 ramp

primary
#52379E
secondary
#A9BB76
accent
#D850B4
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #52379E

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

Preview Lab → · Contrast checker → · Palette generator →

#52379E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva