#5430A2#5430A2

#5430A2 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.3% C 0.173 H 291.8°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#5430A2
RGBrgb(84, 48, 162)
HSLhsl(259, 54%, 41%)
HSVhsv(259, 70%, 64%)
CMYKcmyk(48.1%, 70.4%, 0%, 36.5%)
CIE-LABlab(30.89, 43.24, -55.97)
CIE-LCHlch(30.89, 70.72, 307.69°)
OKLaboklab(42.33% 0.0641 -0.1604)
OKLCHoklch(42.33% 0.173 291.8)
XYZxyz(11.2329, 6.6070, 34.8588)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5430A2 #7EA230
analogous
#3045A2 #5430A2 #8D30A2
triadic
#5430A2 #A25430 #30A254
tetradic
#5430A2 #A23045 #7EA230 #30A28D
square
#5430A2 #A23045 #7EA230 #30A28D
split-complementary
#5430A2 #A28D30 #45A230
monochromatic
#231444 #3C2273 #5430A2 #7047C8 #9476D6

Accessibility & contrast

On white

9.05
#5430A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#5430A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5430A2
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5430A2#FFFFFF#000000##FFFFFF
##5430A21.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#0046A0
Tritanopia (blue-blind)
#3B4D65
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5430a2;
/* rgb */ color: rgb(84, 48, 162);
/* oklch */ color: oklch(42.3% 0.173 291.8);
Tailwind
colors: {
  custom: {
    50: '#8b6bbe',
    500: '#5430a2',
    950: '#000000',
  },
}
SCSS
$custom: #5430a2;
$custom-light: #8b6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#5430a2",
  "rgb": {
    "r": 84,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 258.947,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42326,
    "c": 0.17275,
    "h": 291.8
  },
  "luminance": 0.06607
}

Semantic roles & 50–950 ramp

primary
#5430A2
secondary
#A5BE6F
accent
#DE4AAF
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5430A2

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

Preview Lab → · Contrast checker → · Palette generator →

#5430A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva