#52307A#52307A

#52307A is a dark, vivid violet. Relative luminance 0.053; OKLCH L 38.9% C 0.122 H 302.2°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#52307A
RGBrgb(82, 48, 122)
HSLhsl(268, 44%, 33%)
HSVhsv(268, 61%, 48%)
CMYKcmyk(32.8%, 60.7%, 0%, 52.2%)
CIE-LABlab(27.61, 31.60, -36.60)
CIE-LCHlch(27.61, 48.35, 310.81°)
OKLaboklab(38.94% 0.0653 -0.1035)
OKLCHoklch(38.94% 0.122 302.2)
XYZxyz(8.0487, 5.3129, 19.0100)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52307A #587A30
analogous
#30337A #52307A #77307A
triadic
#52307A #7A5230 #307A52
tetradic
#52307A #7A3033 #587A30 #307A77
square
#52307A #7A3033 #587A30 #307A77
split-complementary
#52307A #7A7730 #337A30
monochromatic
#170D22 #341F4E #52307A #7041A6 #8E63C2

Accessibility & contrast

On white

10.18
#52307A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#52307A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52307A
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52307A#FFFFFF#000000##FFFFFF
##52307A1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D417C
Deuteranopia (green-blind)
#1D4178
Tritanopia (blue-blind)
#4A3F50
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #52307a;
/* rgb */ color: rgb(82, 48, 122);
/* oklch */ color: oklch(38.9% 0.122 302.2);
Tailwind
colors: {
  custom: {
    50: '#856aa1',
    500: '#52307a',
    950: '#000000',
  },
}
SCSS
$custom: #52307a;
$custom-light: #856aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#52307a",
  "rgb": {
    "r": 82,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 267.568,
    "s": 43.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38936,
    "c": 0.1224,
    "h": 302.2
  },
  "luminance": 0.05313
}

Semantic roles & 50–950 ramp

primary
#52307A
secondary
#86A95D
accent
#D35599
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0B060F
muted
#7C7A7E

Preview Lab

Preview with #52307A

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

Preview Lab → · Contrast checker → · Palette generator →

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