#4527AC#4527AC

#4527AC is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.195 H 283.9°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#4527AC
RGBrgb(69, 39, 172)
HSLhsl(254, 63%, 41%)
HSVhsv(254, 77%, 67%)
CMYKcmyk(59.9%, 77.3%, 0%, 32.5%)
CIE-LABlab(28.63, 48.49, -65.77)
CIE-LCHlch(28.63, 81.72, 306.40°)
OKLaboklab(40.64% 0.0468 -0.1896)
OKLCHoklch(40.64% 0.195 283.9)
XYZxyz(10.6239, 5.6941, 39.5610)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4527AC #8EAC27
analogous
#274CAC #4527AC #8827AC
triadic
#4527AC #AC4527 #27AC45
tetradic
#4527AC #AC274C #8EAC27 #27AC88
square
#4527AC #AC274C #8EAC27 #27AC88
split-complementary
#4527AC #AC8827 #4CAC27
monochromatic
#1D1048 #311C7A #4527AC #5F3DD3 #886FDE

Accessibility & contrast

On white

9.82
#4527AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4527AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4527AC
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4527AC#FFFFFF#000000##FFFFFF
##4527AC1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#003FAA
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4527ac;
/* rgb */ color: rgb(69, 39, 172);
/* oklch */ color: oklch(40.6% 0.195 283.9);
Tailwind
colors: {
  custom: {
    50: '#8565c6',
    500: '#4527ac',
    950: '#000000',
  },
}
SCSS
$custom: #4527ac;
$custom-light: #8565c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4527ac",
  "rgb": {
    "r": 69,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 253.534,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40639,
    "c": 0.19526,
    "h": 283.9
  },
  "luminance": 0.05695
}

Semantic roles & 50–950 ramp

primary
#4527AC
secondary
#B0C56A
accent
#E642C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4527AC

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

Preview Lab → · Contrast checker → · Palette generator →

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