#52409D#52409D

#52409D is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.2% C 0.145 H 287.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#52409D
RGBrgb(82, 64, 157)
HSLhsl(252, 42%, 43%)
HSVhsv(252, 59%, 62%)
CMYKcmyk(47.8%, 59.2%, 0%, 38.4%)
CIE-LABlab(33.76, 32.07, -48.29)
CIE-LCHlch(33.76, 57.97, 303.58°)
OKLaboklab(44.24% 0.0445 -0.1379)
OKLCHoklch(44.24% 0.145 287.9)
XYZxyz(11.3971, 7.8945, 32.8150)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52409D #8B9D40
analogous
#405C9D #52409D #80409D
triadic
#52409D #9D5240 #409D52
tetradic
#52409D #9D405C #8B9D40 #409D80
square
#52409D #9D405C #8B9D40 #409D80
split-complementary
#52409D #9D8040 #5C9D40
monochromatic
#251D46 #3B2E72 #52409D #705DBD #9689CF

Accessibility & contrast

On white

8.14
#52409D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#52409D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52409D
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52409D#FFFFFF#000000##FFFFFF
##52409D1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#004D9B
Tritanopia (blue-blind)
#3A5568
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #52409d;
/* rgb */ color: rgb(82, 64, 157);
/* oklch */ color: oklch(44.2% 0.145 287.9);
Tailwind
colors: {
  custom: {
    50: '#8875bb',
    500: '#52409d',
    950: '#000000',
  },
}
SCSS
$custom: #52409d;
$custom-light: #8875bb;
$custom-dark: #000000;
JSON
{
  "hex": "#52409d",
  "rgb": {
    "r": 82,
    "g": 64,
    "b": 157
  },
  "hsl": {
    "h": 251.613,
    "s": 42.081,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44235,
    "c": 0.14492,
    "h": 287.9
  },
  "luminance": 0.07895
}

Semantic roles & 50–950 ramp

primary
#52409D
secondary
#AEB97F
accent
#D256BA
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #52409D

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

Preview Lab → · Contrast checker → · Palette generator →

#52409D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva