#4527A8#4527A8

#4527A8 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.191 H 284.6°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#4527A8
RGBrgb(69, 39, 168)
HSLhsl(254, 62%, 41%)
HSVhsv(254, 77%, 66%)
CMYKcmyk(58.9%, 76.8%, 0%, 34.1%)
CIE-LABlab(28.23, 47.32, -64.02)
CIE-LCHlch(28.23, 79.61, 306.47°)
OKLaboklab(40.24% 0.0479 -0.1844)
OKLCHoklch(40.24% 0.191 284.6)
XYZxyz(10.2455, 5.5428, 37.5682)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4527A8 #8AA827
analogous
#274AA8 #4527A8 #8527A8
triadic
#4527A8 #A84527 #27A845
tetradic
#4527A8 #A8274A #8AA827 #27A885
square
#4527A8 #A8274A #8AA827 #27A885
split-complementary
#4527A8 #A88527 #4AA827
monochromatic
#1C1045 #311B76 #4527A8 #5E3BD1 #876CDD

Accessibility & contrast

On white

9.96
#4527A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4527A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4527A8#FFFFFF#000000##FFFFFF
##4527A81.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#003EA6
Tritanopia (blue-blind)
#0A4C66
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4527a8;
/* rgb */ color: rgb(69, 39, 168);
/* oklch */ color: oklch(40.2% 0.191 284.6);
Tailwind
colors: {
  custom: {
    50: '#8565c3',
    500: '#4527a8',
    950: '#000000',
  },
}
SCSS
$custom: #4527a8;
$custom-light: #8565c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4527a8",
  "rgb": {
    "r": 69,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 253.953,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40239,
    "c": 0.19057,
    "h": 284.6
  },
  "luminance": 0.05543
}

Semantic roles & 50–950 ramp

primary
#4527A8
secondary
#AEC367
accent
#E542BF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4527A8

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

Preview Lab → · Contrast checker → · Palette generator →

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