#4527A2#4527A2

#4527A2 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.183 H 285.7°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#4527A2
RGBrgb(69, 39, 162)
HSLhsl(255, 61%, 39%)
HSVhsv(255, 76%, 64%)
CMYKcmyk(57.4%, 75.9%, 0%, 36.5%)
CIE-LABlab(27.64, 45.55, -61.36)
CIE-LCHlch(27.64, 76.42, 306.59°)
OKLaboklab(39.65% 0.0495 -0.1767)
OKLCHoklch(39.65% 0.183 285.7)
XYZxyz(9.6994, 5.3243, 34.6920)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4527A2 #84A227
analogous
#2747A2 #4527A2 #8327A2
triadic
#4527A2 #A24527 #27A245
tetradic
#4527A2 #A22747 #84A227 #27A283
square
#4527A2 #A22747 #84A227 #27A283
split-complementary
#4527A2 #A28327 #47A227
monochromatic
#1B0F3F #301B71 #4527A2 #5C37CF #8469DB

Accessibility & contrast

On white

10.17
#4527A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4527A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4527A2#FFFFFF#000000##FFFFFF
##4527A21.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A6
Deuteranopia (green-blind)
#003EA0
Tritanopia (blue-blind)
#174963
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4527a2;
/* rgb */ color: rgb(69, 39, 162);
/* oklch */ color: oklch(39.6% 0.183 285.7);
Tailwind
colors: {
  custom: {
    50: '#8465bf',
    500: '#4527a2',
    950: '#000000',
  },
}
SCSS
$custom: #4527a2;
$custom-light: #8465bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4527a2",
  "rgb": {
    "r": 69,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 254.634,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39648,
    "c": 0.18349,
    "h": 285.7
  },
  "luminance": 0.05325
}

Semantic roles & 50–950 ramp

primary
#4527A2
secondary
#AAC164
accent
#E443BD
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4527A2

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

Preview Lab → · Contrast checker → · Palette generator →

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