#52369F#52369F

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

Color values

HEX#52369F
RGBrgb(82, 54, 159)
HSLhsl(256, 49%, 42%)
HSVhsv(256, 66%, 62%)
CMYKcmyk(48.4%, 66%, 0%, 37.6%)
CIE-LABlab(31.66, 38.64, -52.92)
CIE-LCHlch(31.66, 65.53, 306.14°)
OKLaboklab(42.75% 0.0555 -0.1515)
OKLCHoklch(42.75% 0.161 290.1)
XYZxyz(11.0551, 6.9349, 33.5503)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52369F #839F36
analogous
#364F9F #52369F #87369F
triadic
#52369F #9F5236 #369F52
tetradic
#52369F #9F364F #839F36 #369F87
square
#52369F #9F364F #839F36 #369F87
split-complementary
#52369F #9F8736 #4F9F36
monochromatic
#231744 #3A2671 #52369F #6E4FC3 #947DD3

Accessibility & contrast

On white

8.80
#52369F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#52369F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52369F
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52369F#FFFFFF#000000##FFFFFF
##52369F1.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)
#004CA2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#394F65
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #52369f;
/* rgb */ color: rgb(82, 54, 159);
/* oklch */ color: oklch(42.7% 0.161 290.1);
Tailwind
colors: {
  custom: {
    50: '#896fbc',
    500: '#52369f',
    950: '#000000',
  },
}
SCSS
$custom: #52369f;
$custom-light: #896fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#52369f",
  "rgb": {
    "r": 82,
    "g": 54,
    "b": 159
  },
  "hsl": {
    "h": 256,
    "s": 49.296,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42748,
    "c": 0.16139,
    "h": 290.1
  },
  "luminance": 0.06935
}

Semantic roles & 50–950 ramp

primary
#52369F
secondary
#A9BC75
accent
#D94FB4
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #52369F

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

Preview Lab → · Contrast checker → · Palette generator →

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