#4527AA#4527AA

#4527AA is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.193 H 284.2°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#4527AA
RGBrgb(69, 39, 170)
HSLhsl(254, 63%, 41%)
HSVhsv(254, 77%, 67%)
CMYKcmyk(59.4%, 77.1%, 0%, 33.3%)
CIE-LABlab(28.43, 47.91, -64.90)
CIE-LCHlch(28.43, 80.66, 306.43°)
OKLaboklab(40.44% 0.0474 -0.187)
OKLCHoklch(40.44% 0.193 284.2)
XYZxyz(10.4332, 5.6179, 38.5570)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4527AA #8CAA27
analogous
#274BAA #4527AA #8627AA
triadic
#4527AA #AA4527 #27AA45
tetradic
#4527AA #AA274B #8CAA27 #27AA86
square
#4527AA #AA274B #8CAA27 #27AA86
split-complementary
#4527AA #AA8627 #4BAA27
monochromatic
#1D1046 #311C78 #4527AA #5E3CD2 #876EDE

Accessibility & contrast

On white

9.89
#4527AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4527AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4527AA#FFFFFF#000000##FFFFFF
##4527AA1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#003FA8
Tritanopia (blue-blind)
#044D67
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4527aa;
/* rgb */ color: rgb(69, 39, 170);
/* oklch */ color: oklch(40.4% 0.193 284.2);
Tailwind
colors: {
  custom: {
    50: '#8565c4',
    500: '#4527aa',
    950: '#000000',
  },
}
SCSS
$custom: #4527aa;
$custom-light: #8565c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4527aa",
  "rgb": {
    "r": 69,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 253.74,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40438,
    "c": 0.19293,
    "h": 284.2
  },
  "luminance": 0.05619
}

Semantic roles & 50–950 ramp

primary
#4527AA
secondary
#AFC469
accent
#E642C0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4527AA

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

Preview Lab → · Contrast checker → · Palette generator →

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