#4B27AC#4B27AC

#4B27AC is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.195 H 286.7°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#4B27AC
RGBrgb(75, 39, 172)
HSLhsl(256, 63%, 41%)
HSVhsv(256, 77%, 67%)
CMYKcmyk(56.4%, 77.3%, 0%, 32.5%)
CIE-LABlab(29.22, 49.27, -64.77)
CIE-LCHlch(29.22, 81.38, 307.26°)
OKLaboklab(41.2% 0.0559 -0.1865)
OKLCHoklch(41.2% 0.195 286.7)
XYZxyz(11.0713, 5.9248, 39.5820)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B27AC #88AC27
analogous
#2745AC #4B27AC #8E27AC
triadic
#4B27AC #AC4B27 #27AC4B
tetradic
#4B27AC #AC2745 #88AC27 #27AC8E
square
#4B27AC #AC2745 #88AC27 #27AC8E
split-complementary
#4B27AC #AC8E27 #45AC27
monochromatic
#1F1048 #351C7A #4B27AC #663DD3 #8D6FDE

Accessibility & contrast

On white

9.61
#4B27AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4B27AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B27AC
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B27AC#FFFFFF#000000##FFFFFF
##4B27AC1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B0
Deuteranopia (green-blind)
#0041AA
Tritanopia (blue-blind)
#1E4D68
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b27ac;
/* rgb */ color: rgb(75, 39, 172);
/* oklch */ color: oklch(41.2% 0.195 286.7);
Tailwind
colors: {
  custom: {
    50: '#8866c6',
    500: '#4b27ac',
    950: '#000000',
  },
}
SCSS
$custom: #4b27ac;
$custom-light: #8866c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b27ac",
  "rgb": {
    "r": 75,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 256.241,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41198,
    "c": 0.19465,
    "h": 286.7
  },
  "luminance": 0.05925
}

Semantic roles & 50–950 ramp

primary
#4B27AC
secondary
#ACC56A
accent
#E642BA
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4B27AC

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

Preview Lab → · Contrast checker → · Palette generator →

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