#52307B#52307B

#52307B is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.0% C 0.124 H 301.8°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#52307B
RGBrgb(82, 48, 123)
HSLhsl(267, 44%, 34%)
HSVhsv(267, 61%, 48%)
CMYKcmyk(33.3%, 61%, 0%, 51.8%)
CIE-LABlab(27.68, 31.87, -37.12)
CIE-LCHlch(27.68, 48.92, 310.65°)
OKLaboklab(39.01% 0.0653 -0.1051)
OKLCHoklch(39.01% 0.124 301.8)
XYZxyz(8.1109, 5.3378, 19.3380)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52307B #597B30
analogous
#30337B #52307B #77307B
triadic
#52307B #7B5230 #307B52
tetradic
#52307B #7B3033 #597B30 #307B77
square
#52307B #7B3033 #597B30 #307B77
split-complementary
#52307B #7B7730 #337B30
monochromatic
#170E23 #351F4F #52307B #6F41A7 #8E63C2

Accessibility & contrast

On white

10.16
#52307B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52307B
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52307B#FFFFFF#000000##FFFFFF
##52307B1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52307b;
/* rgb */ color: rgb(82, 48, 123);
/* oklch */ color: oklch(39.0% 0.124 301.8);
Tailwind
colors: {
  custom: {
    50: '#866aa2',
    500: '#52307b',
    950: '#000000',
  },
}
SCSS
$custom: #52307b;
$custom-light: #866aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#52307b",
  "rgb": {
    "r": 82,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 267.2,
    "s": 43.86,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39008,
    "c": 0.12369,
    "h": 301.8
  },
  "luminance": 0.05338
}

Semantic roles & 50–950 ramp

primary
#52307B
secondary
#87A95D
accent
#D4549A
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #52307B

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

Preview Lab → · Contrast checker → · Palette generator →

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