#5230AE#5230AE

#5230AE is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.2% C 0.187 H 288.3°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#5230AE
RGBrgb(82, 48, 174)
HSLhsl(256, 57%, 44%)
HSVhsv(256, 72%, 68%)
CMYKcmyk(52.9%, 72.4%, 0%, 31.8%)
CIE-LABlab(31.72, 46.34, -61.84)
CIE-LCHlch(31.72, 77.27, 306.85°)
OKLaboklab(43.19% 0.0588 -0.1777)
OKLCHoklch(43.19% 0.187 288.3)
XYZxyz(12.1744, 6.9632, 40.7387)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5230AE #8CAE30
analogous
#304DAE #5230AE #9130AE
triadic
#5230AE #AE5230 #30AE52
tetradic
#5230AE #AE304D #8CAE30 #30AE91
square
#5230AE #AE304D #8CAE30 #30AE91
split-complementary
#5230AE #AE9130 #4DAE30
monochromatic
#25164E #3B237E #5230AE #704DCE #977DDB

Accessibility & contrast

On white

8.78
#5230AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#5230AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5230AE
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5230AE#FFFFFF#000000##FFFFFF
##5230AE1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#0047AC
Tritanopia (blue-blind)
#2F526C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5230ae;
/* rgb */ color: rgb(82, 48, 174);
/* oklch */ color: oklch(43.2% 0.187 288.3);
Tailwind
colors: {
  custom: {
    50: '#8c6cc7',
    500: '#5230ae',
    950: '#000000',
  },
}
SCSS
$custom: #5230ae;
$custom-light: #8c6cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5230ae",
  "rgb": {
    "r": 82,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 256.19,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43186,
    "c": 0.18716,
    "h": 288.3
  },
  "luminance": 0.06964
}

Semantic roles & 50–950 ramp

primary
#5230AE
secondary
#AFC476
accent
#E048B7
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5230AE

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

Preview Lab → · Contrast checker → · Palette generator →

#5230AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva