#52307C#52307C

#52307C is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.1% C 0.125 H 301.5°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#52307C
RGBrgb(82, 48, 124)
HSLhsl(267, 44%, 34%)
HSVhsv(267, 61%, 49%)
CMYKcmyk(33.9%, 61.3%, 0%, 51.4%)
CIE-LABlab(27.74, 32.14, -37.64)
CIE-LCHlch(27.74, 49.50, 310.50°)
OKLaboklab(39.08% 0.0653 -0.1066)
OKLCHoklch(39.08% 0.125 301.5)
XYZxyz(8.1739, 5.3629, 19.6694)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52307C #5A7C30
analogous
#30347C #52307C #78307C
triadic
#52307C #7C5230 #307C52
tetradic
#52307C #7C3034 #5A7C30 #307C78
square
#52307C #7C3034 #5A7C30 #307C78
split-complementary
#52307C #7C7830 #347C30
monochromatic
#180E24 #351F50 #52307C #6F41A8 #8E64C3

Accessibility & contrast

On white

10.13
#52307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#52307C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52307C
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52307C#FFFFFF#000000##FFFFFF
##52307C1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09417E
Deuteranopia (green-blind)
#1A417A
Tritanopia (blue-blind)
#4A4051
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #52307c;
/* rgb */ color: rgb(82, 48, 124);
/* oklch */ color: oklch(39.1% 0.125 301.5);
Tailwind
colors: {
  custom: {
    50: '#866aa2',
    500: '#52307c',
    950: '#000000',
  },
}
SCSS
$custom: #52307c;
$custom-light: #866aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#52307c",
  "rgb": {
    "r": 82,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 266.842,
    "s": 44.186,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3908,
    "c": 0.12499,
    "h": 301.5
  },
  "luminance": 0.05363
}

Semantic roles & 50–950 ramp

primary
#52307C
secondary
#88AA5E
accent
#D4549B
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #52307C

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

Preview Lab → · Contrast checker → · Palette generator →

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