#52306D#52306D

#52306D is a dark, moderate violet. Relative luminance 0.050; OKLCH L 38.0% C 0.105 H 307.9°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#52306D
RGBrgb(82, 48, 109)
HSLhsl(273, 39%, 31%)
HSVhsv(273, 56%, 43%)
CMYKcmyk(24.8%, 56%, 0%, 57.3%)
CIE-LABlab(26.77, 28.15, -29.66)
CIE-LCHlch(26.77, 40.90, 313.50°)
OKLaboklab(38.05% 0.0648 -0.0832)
OKLCHoklch(38.05% 0.105 307.9)
XYZxyz(7.2964, 5.0120, 15.0481)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52306D #4B6D30
analogous
#33306D #52306D #6D3069
triadic
#52306D #6D5230 #306D52
tetradic
#52306D #6D3330 #4B6D30 #30696D
square
#52306D #6D3330 #4B6D30 #30696D
split-complementary
#52306D #696D30 #306D33
monochromatic
#120B18 #321D43 #52306D #724397 #915FB8

Accessibility & contrast

On white

10.49
#52306D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#52306D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52306D
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52306D#FFFFFF#000000##FFFFFF
##52306D1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3E6F
Deuteranopia (green-blind)
#28406B
Tritanopia (blue-blind)
#4E3B49
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #52306d;
/* rgb */ color: rgb(82, 48, 109);
/* oklch */ color: oklch(38.0% 0.105 307.9);
Tailwind
colors: {
  custom: {
    50: '#846a97',
    500: '#52306d',
    950: '#000000',
  },
}
SCSS
$custom: #52306d;
$custom-light: #846a97;
$custom-dark: #000000;
JSON
{
  "hex": "#52306d",
  "rgb": {
    "r": 82,
    "g": 48,
    "b": 109
  },
  "hsl": {
    "h": 273.443,
    "s": 38.854,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38048,
    "c": 0.10549,
    "h": 307.9
  },
  "luminance": 0.05012
}

Semantic roles & 50–950 ramp

primary
#52306D
secondary
#799E5B
accent
#CF598D
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #52306D

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

Preview Lab → · Contrast checker → · Palette generator →

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