#5230AD#5230AD

#5230AD is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.1% C 0.186 H 288.5°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#5230AD
RGBrgb(82, 48, 173)
HSLhsl(256, 57%, 43%)
HSVhsv(256, 72%, 68%)
CMYKcmyk(52.6%, 72.3%, 0%, 32.2%)
CIE-LABlab(31.63, 46.05, -61.38)
CIE-LCHlch(31.63, 76.74, 306.88°)
OKLaboklab(43.1% 0.059 -0.1764)
OKLCHoklch(43.1% 0.186 288.5)
XYZxyz(12.0772, 6.9243, 40.2272)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5230AD #8BAD30
analogous
#304CAD #5230AD #9030AD
triadic
#5230AD #AD5230 #30AD52
tetradic
#5230AD #AD304C #8BAD30 #30AD90
square
#5230AD #AD304C #8BAD30 #30AD90
split-complementary
#5230AD #AD9030 #4CAD30
monochromatic
#25154D #3B237D #5230AD #704DCE #967DDB

Accessibility & contrast

On white

8.81
#5230AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5230AD
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5230AD#FFFFFF#000000##FFFFFF
##5230AD1.008.812.398.81
#FFFFFF8.811.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB1
Deuteranopia (green-blind)
#0047AB
Tritanopia (blue-blind)
#2F516B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5230ad;
/* rgb */ color: rgb(82, 48, 173);
/* oklch */ color: oklch(43.1% 0.186 288.5);
Tailwind
colors: {
  custom: {
    50: '#8c6bc6',
    500: '#5230ad',
    950: '#000000',
  },
}
SCSS
$custom: #5230ad;
$custom-light: #8c6bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5230ad",
  "rgb": {
    "r": 82,
    "g": 48,
    "b": 173
  },
  "hsl": {
    "h": 256.32,
    "s": 56.561,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43096,
    "c": 0.18597,
    "h": 288.5
  },
  "luminance": 0.06925
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5230AD

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

Preview Lab → · Contrast checker → · Palette generator →

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