#4529A5#4529A5

#4529A5 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.185 H 284.8°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#4529A5
RGBrgb(69, 41, 165)
HSLhsl(254, 60%, 40%)
HSVhsv(254, 75%, 65%)
CMYKcmyk(58.2%, 75.2%, 0%, 35.3%)
CIE-LABlab(28.29, 45.41, -62.10)
CIE-LCHlch(28.29, 76.94, 306.18°)
OKLaboklab(40.2% 0.0473 -0.1789)
OKLCHoklch(40.2% 0.185 284.8)
XYZxyz(10.0366, 5.5671, 36.1357)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4529A5 #89A529
analogous
#294BA5 #4529A5 #8329A5
triadic
#4529A5 #A54529 #29A545
tetradic
#4529A5 #A5294B #89A529 #29A583
square
#4529A5 #A5294B #89A529 #29A583
split-complementary
#4529A5 #A58329 #4BA529
monochromatic
#1C1143 #311D74 #4529A5 #5E3DCF #866EDB

Accessibility & contrast

On white

9.94
#4529A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4529A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4529A5
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4529A5#FFFFFF#000000##FFFFFF
##4529A51.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#003FA3
Tritanopia (blue-blind)
#114C65
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4529a5;
/* rgb */ color: rgb(69, 41, 165);
/* oklch */ color: oklch(40.2% 0.185 284.8);
Tailwind
colors: {
  custom: {
    50: '#8466c1',
    500: '#4529a5',
    950: '#000000',
  },
}
SCSS
$custom: #4529a5;
$custom-light: #8466c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4529a5",
  "rgb": {
    "r": 69,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 253.548,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40196,
    "c": 0.185,
    "h": 284.8
  },
  "luminance": 0.05568
}

Semantic roles & 50–950 ramp

primary
#4529A5
secondary
#ADC268
accent
#E344BF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4529A5

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

Preview Lab → · Contrast checker → · Palette generator →

#4529A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva