#4529A2#4529A2

#4529A2 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.181 H 285.3°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#4529A2
RGBrgb(69, 41, 162)
HSLhsl(254, 60%, 40%)
HSVhsv(254, 75%, 64%)
CMYKcmyk(57.4%, 74.7%, 0%, 36.5%)
CIE-LABlab(28.00, 44.52, -60.76)
CIE-LCHlch(28.00, 75.32, 306.23°)
OKLaboklab(39.91% 0.048 -0.1749)
OKLCHoklch(39.91% 0.181 285.3)
XYZxyz(9.7668, 5.4591, 34.7145)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4529A2 #86A229
analogous
#294AA2 #4529A2 #8129A2
triadic
#4529A2 #A24529 #29A245
tetradic
#4529A2 #A2294A #86A229 #29A281
square
#4529A2 #A2294A #86A229 #29A281
split-complementary
#4529A2 #A28129 #4AA229
monochromatic
#1B1040 #301D71 #4529A2 #5D3BCD #856CDA

Accessibility & contrast

On white

10.04
#4529A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4529A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4529A2
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4529A2#FFFFFF#000000##FFFFFF
##4529A21.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A6
Deuteranopia (green-blind)
#003EA0
Tritanopia (blue-blind)
#174A63
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4529a2;
/* rgb */ color: rgb(69, 41, 162);
/* oklch */ color: oklch(39.9% 0.181 285.3);
Tailwind
colors: {
  custom: {
    50: '#8366bf',
    500: '#4529a2',
    950: '#000000',
  },
}
SCSS
$custom: #4529a2;
$custom-light: #8366bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4529a2",
  "rgb": {
    "r": 69,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 253.884,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39905,
    "c": 0.18139,
    "h": 285.3
  },
  "luminance": 0.0546
}

Semantic roles & 50–950 ramp

primary
#4529A2
secondary
#ACC067
accent
#E345BE
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4529A2

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

Preview Lab → · Contrast checker → · Palette generator →

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