#4B27AE#4B27AE

#4B27AE is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.197 H 286.3°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#4B27AE
RGBrgb(75, 39, 174)
HSLhsl(256, 63%, 42%)
HSVhsv(256, 78%, 68%)
CMYKcmyk(56.9%, 77.6%, 0%, 31.8%)
CIE-LABlab(29.42, 49.84, -65.65)
CIE-LCHlch(29.42, 82.42, 307.20°)
OKLaboklab(41.39% 0.0553 -0.189)
OKLCHoklch(41.39% 0.197 286.3)
XYZxyz(11.2649, 6.0022, 40.6012)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B27AE #8AAE27
analogous
#2747AE #4B27AE #8F27AE
triadic
#4B27AE #AE4B27 #27AE4B
tetradic
#4B27AE #AE2747 #8AAE27 #27AE8F
square
#4B27AE #AE2747 #8AAE27 #27AE8F
split-complementary
#4B27AE #AE8F27 #47AE27
monochromatic
#20114A #351C7C #4B27AE #663ED4 #8E70DF

Accessibility & contrast

On white

9.54
#4B27AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4B27AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B27AE
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B27AE#FFFFFF#000000##FFFFFF
##4B27AE1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#0041AC
Tritanopia (blue-blind)
#1B4E6A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b27ae;
/* rgb */ color: rgb(75, 39, 174);
/* oklch */ color: oklch(41.4% 0.197 286.3);
Tailwind
colors: {
  custom: {
    50: '#8966c7',
    500: '#4b27ae',
    950: '#000000',
  },
}
SCSS
$custom: #4b27ae;
$custom-light: #8966c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b27ae",
  "rgb": {
    "r": 75,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 256,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41394,
    "c": 0.19694,
    "h": 286.3
  },
  "luminance": 0.06003
}

Semantic roles & 50–950 ramp

primary
#4B27AE
secondary
#AEC66B
accent
#E641BA
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4B27AE

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

Preview Lab → · Contrast checker → · Palette generator →

#4B27AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva