#5230A3#5230A3

#5230A3 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.2% C 0.174 H 290.5°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#5230A3
RGBrgb(82, 48, 163)
HSLhsl(258, 55%, 41%)
HSVhsv(258, 71%, 64%)
CMYKcmyk(49.7%, 70.6%, 0%, 36.1%)
CIE-LABlab(30.76, 43.17, -56.79)
CIE-LCHlch(30.76, 71.34, 307.24°)
OKLaboklab(42.21% 0.061 -0.1629)
OKLCHoklch(42.21% 0.174 290.5)
XYZxyz(11.1456, 6.5516, 35.3206)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5230A3 #81A330
analogous
#3048A3 #5230A3 #8C30A3
triadic
#5230A3 #A35230 #30A352
tetradic
#5230A3 #A33048 #81A330 #30A38C
square
#5230A3 #A33048 #81A330 #30A38C
split-complementary
#5230A3 #A38C30 #48A330
monochromatic
#221444 #3A2274 #5230A3 #6E47C9 #9377D7

Accessibility & contrast

On white

9.09
#5230A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#5230A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5230A3
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5230A3#FFFFFF#000000##FFFFFF
##5230A31.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA6
Deuteranopia (green-blind)
#0046A1
Tritanopia (blue-blind)
#374D66
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5230a3;
/* rgb */ color: rgb(82, 48, 163);
/* oklch */ color: oklch(42.2% 0.174 290.5);
Tailwind
colors: {
  custom: {
    50: '#8a6bbf',
    500: '#5230a3',
    950: '#000000',
  },
}
SCSS
$custom: #5230a3;
$custom-light: #8a6bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#5230a3",
  "rgb": {
    "r": 82,
    "g": 48,
    "b": 163
  },
  "hsl": {
    "h": 257.739,
    "s": 54.502,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42208,
    "c": 0.17395,
    "h": 290.5
  },
  "luminance": 0.06552
}

Semantic roles & 50–950 ramp

primary
#5230A3
secondary
#A8BF70
accent
#DE4AB2
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0D0712
muted
#7D7A81

Preview Lab

Preview with #5230A3

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

Preview Lab → · Contrast checker → · Palette generator →

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