#52379C#52379C

#52379C is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.7% C 0.156 H 290.5°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#52379C
RGBrgb(82, 55, 156)
HSLhsl(256, 48%, 41%)
HSVhsv(256, 65%, 61%)
CMYKcmyk(47.4%, 64.7%, 0%, 38.8%)
CIE-LABlab(31.64, 37.17, -51.13)
CIE-LCHlch(31.64, 63.22, 306.02°)
OKLaboklab(42.66% 0.0548 -0.1463)
OKLCHoklch(42.66% 0.156 290.5)
XYZxyz(10.8449, 6.9261, 32.2115)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52379C #819C37
analogous
#374F9C #52379C #85379C
triadic
#52379C #9C5237 #379C52
tetradic
#52379C #9C374F #819C37 #379C85
square
#52379C #9C374F #819C37 #379C85
split-complementary
#52379C #9C8537 #4F9C37
monochromatic
#221742 #3A276F #52379C #6E4FC1 #937CD1

Accessibility & contrast

On white

8.80
#52379C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#52379C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52379C
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52379C#FFFFFF#000000##FFFFFF
##52379C1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#00489A
Tritanopia (blue-blind)
#3B4F64
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #52379c;
/* rgb */ color: rgb(82, 55, 156);
/* oklch */ color: oklch(42.7% 0.156 290.5);
Tailwind
colors: {
  custom: {
    50: '#896fba',
    500: '#52379c',
    950: '#000000',
  },
}
SCSS
$custom: #52379c;
$custom-light: #896fba;
$custom-dark: #000000;
JSON
{
  "hex": "#52379c",
  "rgb": {
    "r": 82,
    "g": 55,
    "b": 156
  },
  "hsl": {
    "h": 256.04,
    "s": 47.867,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42659,
    "c": 0.15619,
    "h": 290.5
  },
  "luminance": 0.06927
}

Semantic roles & 50–950 ramp

primary
#52379C
secondary
#A8BA75
accent
#D750B3
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #52379C

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

Preview Lab → · Contrast checker → · Palette generator →

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