#4527A4#4527A4

#4527A4 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.186 H 285.3°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#4527A4
RGBrgb(69, 39, 164)
HSLhsl(254, 62%, 40%)
HSVhsv(254, 76%, 64%)
CMYKcmyk(57.9%, 76.2%, 0%, 35.7%)
CIE-LABlab(27.83, 46.14, -62.25)
CIE-LCHlch(27.83, 77.49, 306.55°)
OKLaboklab(39.84% 0.049 -0.1793)
OKLCHoklch(39.84% 0.186 285.3)
XYZxyz(9.8786, 5.3960, 35.6358)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4527A4 #86A427
analogous
#2748A4 #4527A4 #8427A4
triadic
#4527A4 #A44527 #27A445
tetradic
#4527A4 #A42748 #86A427 #27A484
square
#4527A4 #A42748 #86A427 #27A484
split-complementary
#4527A4 #A48427 #48A427
monochromatic
#1B0F41 #301B73 #4527A4 #5D38D0 #856ADC

Accessibility & contrast

On white

10.10
#4527A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4527A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4527A4
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4527A4#FFFFFF#000000##FFFFFF
##4527A41.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#144A64
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4527a4;
/* rgb */ color: rgb(69, 39, 164);
/* oklch */ color: oklch(39.8% 0.186 285.3);
Tailwind
colors: {
  custom: {
    50: '#8465c0',
    500: '#4527a4',
    950: '#000000',
  },
}
SCSS
$custom: #4527a4;
$custom-light: #8465c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4527a4",
  "rgb": {
    "r": 69,
    "g": 39,
    "b": 164
  },
  "hsl": {
    "h": 254.4,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39844,
    "c": 0.18585,
    "h": 285.3
  },
  "luminance": 0.05397
}

Semantic roles & 50–950 ramp

primary
#4527A4
secondary
#ACC265
accent
#E543BE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4527A4

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

Preview Lab → · Contrast checker → · Palette generator →

#4527A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva