#52307D#52307D

#52307D is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.2% C 0.126 H 301.1°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#52307D
RGBrgb(82, 48, 125)
HSLhsl(266, 45%, 34%)
HSVhsv(266, 62%, 49%)
CMYKcmyk(34.4%, 61.6%, 0%, 51%)
CIE-LABlab(27.81, 32.42, -38.16)
CIE-LCHlch(27.81, 50.07, 310.35°)
OKLaboklab(39.15% 0.0652 -0.1081)
OKLCHoklch(39.15% 0.126 301.1)
XYZxyz(8.2374, 5.3884, 20.0041)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52307D #5B7D30
analogous
#30347D #52307D #79307D
triadic
#52307D #7D5230 #307D52
tetradic
#52307D #7D3034 #5B7D30 #307D79
square
#52307D #7D3034 #5B7D30 #307D79
split-complementary
#52307D #7D7930 #347D30
monochromatic
#180E25 #351F51 #52307D #6F41A9 #8E64C3

Accessibility & contrast

On white

10.11
#52307D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#52307D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52307D
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52307D#FFFFFF#000000##FFFFFF
##52307D1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06417F
Deuteranopia (green-blind)
#19417B
Tritanopia (blue-blind)
#494051
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #52307d;
/* rgb */ color: rgb(82, 48, 125);
/* oklch */ color: oklch(39.2% 0.126 301.1);
Tailwind
colors: {
  custom: {
    50: '#866aa3',
    500: '#52307d',
    950: '#000000',
  },
}
SCSS
$custom: #52307d;
$custom-light: #866aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#52307d",
  "rgb": {
    "r": 82,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 266.494,
    "s": 44.509,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39152,
    "c": 0.12629,
    "h": 301.1
  },
  "luminance": 0.05388
}

Semantic roles & 50–950 ramp

primary
#52307D
secondary
#89AB5E
accent
#D4549B
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #52307D

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

Preview Lab → · Contrast checker → · Palette generator →

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