#52467F#52467F

#52467F is a dark, moderate violet. Relative luminance 0.077; OKLCH L 43.3% C 0.092 H 291.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#52467F
RGBrgb(82, 70, 127)
HSLhsl(253, 29%, 39%)
HSVhsv(253, 45%, 50%)
CMYKcmyk(35.4%, 44.9%, 0%, 50.2%)
CIE-LABlab(33.36, 19.26, -30.56)
CIE-LCHlch(33.36, 36.12, 302.23°)
OKLaboklab(43.32% 0.0343 -0.0859)
OKLCHoklch(43.32% 0.092 291.7)
XYZxyz(9.4996, 7.7063, 21.0615)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52467F #737F46
analogous
#46567F #52467F #6E467F
triadic
#52467F #7F5246 #467F52
tetradic
#52467F #7F4656 #737F46 #467F6E
square
#52467F #7F4656 #737F46 #467F6E
split-complementary
#52467F #7F6E46 #567F46
monochromatic
#1F1B30 #393058 #52467F #6C5DA6 #9084BB

Accessibility & contrast

On white

8.26
#52467F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#52467F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52467F
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52467F#FFFFFF#000000##FFFFFF
##52467F1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F81
Deuteranopia (green-blind)
#354D7E
Tritanopia (blue-blind)
#47515C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #52467f;
/* rgb */ color: rgb(82, 70, 127);
/* oklch */ color: oklch(43.3% 0.092 291.7);
Tailwind
colors: {
  custom: {
    50: '#8579a4',
    500: '#52467f',
    950: '#000000',
  },
}
SCSS
$custom: #52467f;
$custom-light: #8579a4;
$custom-dark: #000000;
JSON
{
  "hex": "#52467f",
  "rgb": {
    "r": 82,
    "g": 70,
    "b": 127
  },
  "hsl": {
    "h": 252.632,
    "s": 28.934,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43322,
    "c": 0.09247,
    "h": 291.7
  },
  "luminance": 0.07706
}

Semantic roles & 50–950 ramp

primary
#52467F
secondary
#9DA77A
accent
#C563B0
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #52467F

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

Preview Lab → · Contrast checker → · Palette generator →

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