#4527AB#4527AB

#4527AB is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.194 H 284.0°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#4527AB
RGBrgb(69, 39, 171)
HSLhsl(254, 63%, 41%)
HSVhsv(254, 77%, 67%)
CMYKcmyk(59.6%, 77.2%, 0%, 32.9%)
CIE-LABlab(28.53, 48.20, -65.33)
CIE-LCHlch(28.53, 81.19, 306.42°)
OKLaboklab(40.54% 0.0471 -0.1883)
OKLCHoklch(40.54% 0.194 284)
XYZxyz(10.5282, 5.6558, 39.0571)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4527AB #8DAB27
analogous
#274BAB #4527AB #8727AB
triadic
#4527AB #AB4527 #27AB45
tetradic
#4527AB #AB274B #8DAB27 #27AB87
square
#4527AB #AB274B #8DAB27 #27AB87
split-complementary
#4527AB #AB8727 #4BAB27
monochromatic
#1D1047 #311C79 #4527AB #5F3DD3 #886EDE

Accessibility & contrast

On white

9.85
#4527AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4527AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4527AB#FFFFFF#000000##FFFFFF
##4527AB1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AF
Deuteranopia (green-blind)
#003FA9
Tritanopia (blue-blind)
#014D68
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4527ab;
/* rgb */ color: rgb(69, 39, 171);
/* oklch */ color: oklch(40.5% 0.194 284.0);
Tailwind
colors: {
  custom: {
    50: '#8565c5',
    500: '#4527ab',
    950: '#000000',
  },
}
SCSS
$custom: #4527ab;
$custom-light: #8565c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4527ab",
  "rgb": {
    "r": 69,
    "g": 39,
    "b": 171
  },
  "hsl": {
    "h": 253.636,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40538,
    "c": 0.19409,
    "h": 284
  },
  "luminance": 0.05657
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4527AB

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

Preview Lab → · Contrast checker → · Palette generator →

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