#52309F#52309F

#52309F is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.9% C 0.169 H 291.4°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#52309F
RGBrgb(82, 48, 159)
HSLhsl(258, 54%, 41%)
HSVhsv(258, 70%, 62%)
CMYKcmyk(48.4%, 69.8%, 0%, 37.6%)
CIE-LABlab(30.43, 42.01, -54.92)
CIE-LCHlch(30.43, 69.15, 307.41°)
OKLaboklab(41.86% 0.0617 -0.1574)
OKLCHoklch(41.86% 0.169 291.4)
XYZxyz(10.7929, 6.4106, 33.4629)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52309F #7D9F30
analogous
#30469F #52309F #89309F
triadic
#52309F #9F5230 #309F52
tetradic
#52309F #9F3046 #7D9F30 #309F89
square
#52309F #9F3046 #7D9F30 #309F89
split-complementary
#52309F #9F8930 #469F30
monochromatic
#221441 #3A2270 #52309F #6D45C7 #9274D5

Accessibility & contrast

On white

9.20
#52309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#52309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52309F
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52309F#FFFFFF#000000##FFFFFF
##52309F1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#3A4C64
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #52309f;
/* rgb */ color: rgb(82, 48, 159);
/* oklch */ color: oklch(41.9% 0.169 291.4);
Tailwind
colors: {
  custom: {
    50: '#8a6bbc',
    500: '#52309f',
    950: '#000000',
  },
}
SCSS
$custom: #52309f;
$custom-light: #8a6bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#52309f",
  "rgb": {
    "r": 82,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 258.378,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41862,
    "c": 0.16907,
    "h": 291.4
  },
  "luminance": 0.06411
}

Semantic roles & 50–950 ramp

primary
#52309F
secondary
#A5BD6E
accent
#DD4BB0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #52309F

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

Preview Lab → · Contrast checker → · Palette generator →

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