#4527BC#4527BC

#4527BC is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.3% C 0.214 H 281.4°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#4527BC
RGBrgb(69, 39, 188)
HSLhsl(252, 66%, 45%)
HSVhsv(252, 79%, 74%)
CMYKcmyk(63.3%, 79.3%, 0%, 26.3%)
CIE-LABlab(30.27, 53.15, -72.59)
CIE-LCHlch(30.27, 89.97, 306.21°)
OKLaboklab(42.27% 0.0422 -0.2095)
OKLCHoklch(42.27% 0.214 281.4)
XYZxyz(12.2540, 6.3462, 48.1464)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4527BC #9EBC27
analogous
#2753BC #4527BC #9027BC
triadic
#4527BC #BC4527 #27BC45
tetradic
#4527BC #BC2753 #9EBC27 #27BC90
square
#4527BC #BC2753 #9EBC27 #27BC90
split-complementary
#4527BC #BC9027 #53BC27
monochromatic
#201257 #321C89 #4527BC #6547D9 #8F7AE3

Accessibility & contrast

On white

9.25
#4527BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4527BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4527BC#FFFFFF#000000##FFFFFF
##4527BC1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC0
Deuteranopia (green-blind)
#0042B9
Tritanopia (blue-blind)
#005472
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4527bc;
/* rgb */ color: rgb(69, 39, 188);
/* oklch */ color: oklch(42.3% 0.214 281.4);
Tailwind
colors: {
  custom: {
    50: '#8866d2',
    500: '#4527bc',
    950: '#000000',
  },
}
SCSS
$custom: #4527bc;
$custom-light: #8866d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4527bc",
  "rgb": {
    "r": 69,
    "g": 39,
    "b": 188
  },
  "hsl": {
    "h": 252.081,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42274,
    "c": 0.21368,
    "h": 281.4
  },
  "luminance": 0.06347
}

Semantic roles & 50–950 ramp

primary
#4527BC
secondary
#BACB73
accent
#E93FC6
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4527BC

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

Preview Lab → · Contrast checker → · Palette generator →

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