#4527A5#4527A5

#4527A5 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.187 H 285.1°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#4527A5
RGBrgb(69, 39, 165)
HSLhsl(254, 62%, 40%)
HSVhsv(254, 76%, 65%)
CMYKcmyk(58.2%, 76.4%, 0%, 35.3%)
CIE-LABlab(27.93, 46.44, -62.70)
CIE-LCHlch(27.93, 78.02, 306.53°)
OKLaboklab(39.94% 0.0487 -0.1806)
OKLCHoklch(39.94% 0.187 285.1)
XYZxyz(9.9692, 5.4323, 36.1132)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4527A5 #87A527
analogous
#2748A5 #4527A5 #8427A5
triadic
#4527A5 #A54527 #27A545
tetradic
#4527A5 #A52748 #87A527 #27A584
square
#4527A5 #A52748 #87A527 #27A584
split-complementary
#4527A5 #A58427 #48A527
monochromatic
#1C1042 #301B74 #4527A5 #5D39D0 #866ADC

Accessibility & contrast

On white

10.06
#4527A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4527A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4527A5#FFFFFF#000000##FFFFFF
##4527A51.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#003EA3
Tritanopia (blue-blind)
#124B64
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4527a5;
/* rgb */ color: rgb(69, 39, 165);
/* oklch */ color: oklch(39.9% 0.187 285.1);
Tailwind
colors: {
  custom: {
    50: '#8465c1',
    500: '#4527a5',
    950: '#000000',
  },
}
SCSS
$custom: #4527a5;
$custom-light: #8465c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4527a5",
  "rgb": {
    "r": 69,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 254.286,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.39942,
    "c": 0.18704,
    "h": 285.1
  },
  "luminance": 0.05433
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4527A5

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

Preview Lab → · Contrast checker → · Palette generator →

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