#52306F#52306F

#52306F is a dark, moderate violet. Relative luminance 0.051; OKLCH L 38.2% C 0.108 H 306.9°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#52306F
RGBrgb(82, 48, 111)
HSLhsl(272, 40%, 31%)
HSVhsv(272, 57%, 44%)
CMYKcmyk(26.1%, 56.8%, 0%, 56.5%)
CIE-LABlab(26.89, 28.67, -30.75)
CIE-LCHlch(26.89, 42.04, 313.00°)
OKLaboklab(38.18% 0.0649 -0.0864)
OKLCHoklch(38.18% 0.108 306.9)
XYZxyz(7.4053, 5.0555, 15.6215)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52306F #4D6F30
analogous
#32306F #52306F #6F306C
triadic
#52306F #6F5230 #306F52
tetradic
#52306F #6F3230 #4D6F30 #306C6F
square
#52306F #6F3230 #4D6F30 #306C6F
split-complementary
#52306F #6C6F30 #306F32
monochromatic
#130B1A #321E44 #52306F #72429A #905FBA

Accessibility & contrast

On white

10.44
#52306F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#52306F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52306F
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52306F#FFFFFF#000000##FFFFFF
##52306F1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3E71
Deuteranopia (green-blind)
#27406D
Tritanopia (blue-blind)
#4E3B4A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #52306f;
/* rgb */ color: rgb(82, 48, 111);
/* oklch */ color: oklch(38.2% 0.108 306.9);
Tailwind
colors: {
  custom: {
    50: '#856a99',
    500: '#52306f',
    950: '#000000',
  },
}
SCSS
$custom: #52306f;
$custom-light: #856a99;
$custom-dark: #000000;
JSON
{
  "hex": "#52306f",
  "rgb": {
    "r": 82,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 272.381,
    "s": 39.623,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3818,
    "c": 0.10809,
    "h": 306.9
  },
  "luminance": 0.05055
}

Semantic roles & 50–950 ramp

primary
#52306F
secondary
#7BA05B
accent
#D0588F
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #52306F

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

Preview Lab → · Contrast checker → · Palette generator →

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