#52309A#52309A

#52309A is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.4% C 0.163 H 292.6°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#52309A
RGBrgb(82, 48, 154)
HSLhsl(259, 52%, 40%)
HSVhsv(259, 69%, 60%)
CMYKcmyk(46.8%, 68.8%, 0%, 39.6%)
CIE-LABlab(30.01, 40.58, -52.56)
CIE-LCHlch(30.01, 66.40, 307.67°)
OKLaboklab(41.44% 0.0625 -0.1505)
OKLCHoklch(41.44% 0.163 292.6)
XYZxyz(10.3677, 6.2405, 31.2239)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52309A #789A30
analogous
#30439A #52309A #87309A
triadic
#52309A #9A5230 #309A52
tetradic
#52309A #9A3043 #789A30 #309A87
square
#52309A #9A3043 #789A30 #309A87
split-complementary
#52309A #9A8730 #439A30
monochromatic
#20133D #39216B #52309A #6C43C4 #9172D3

Accessibility & contrast

On white

9.34
#52309A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#52309A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52309A
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52309A#FFFFFF#000000##FFFFFF
##52309A1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#004598
Tritanopia (blue-blind)
#3C4A61
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #52309a;
/* rgb */ color: rgb(82, 48, 154);
/* oklch */ color: oklch(41.4% 0.163 292.6);
Tailwind
colors: {
  custom: {
    50: '#896bb9',
    500: '#52309a',
    950: '#000000',
  },
}
SCSS
$custom: #52309a;
$custom-light: #896bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#52309a",
  "rgb": {
    "r": 82,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 259.245,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41436,
    "c": 0.16294,
    "h": 292.6
  },
  "luminance": 0.06241
}

Semantic roles & 50–950 ramp

primary
#52309A
secondary
#A1BB6B
accent
#DC4CAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #52309A

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

Preview Lab → · Contrast checker → · Palette generator →

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