#52309B#52309B

#52309B is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.5% C 0.164 H 292.3°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#52309B
RGBrgb(82, 48, 155)
HSLhsl(259, 53%, 40%)
HSVhsv(259, 69%, 61%)
CMYKcmyk(47.1%, 69%, 0%, 39.2%)
CIE-LABlab(30.09, 40.86, -53.03)
CIE-LCHlch(30.09, 66.95, 307.61°)
OKLaboklab(41.52% 0.0624 -0.1519)
OKLCHoklch(41.52% 0.164 292.3)
XYZxyz(10.4514, 6.2740, 31.6643)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52309B #799B30
analogous
#30449B #52309B #87309B
triadic
#52309B #9B5230 #309B52
tetradic
#52309B #9B3044 #799B30 #309B87
square
#52309B #9B3044 #799B30 #309B87
split-complementary
#52309B #9B8730 #449B30
monochromatic
#21133E #39226C #52309B #6C43C5 #9172D3

Accessibility & contrast

On white

9.31
#52309B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52309B
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52309B#FFFFFF#000000##FFFFFF
##52309B1.009.312.259.31
#FFFFFF9.311.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52309b;
/* rgb */ color: rgb(82, 48, 155);
/* oklch */ color: oklch(41.5% 0.164 292.3);
Tailwind
colors: {
  custom: {
    50: '#896bb9',
    500: '#52309b',
    950: '#000000',
  },
}
SCSS
$custom: #52309b;
$custom-light: #896bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#52309b",
  "rgb": {
    "r": 82,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 259.065,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41521,
    "c": 0.16417,
    "h": 292.3
  },
  "luminance": 0.06274
}

Semantic roles & 50–950 ramp

primary
#52309B
secondary
#A2BB6C
accent
#DC4CAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #52309B

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

Preview Lab → · Contrast checker → · Palette generator →

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