#4B27AA#4B27AA

#4B27AA is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.192 H 287.1°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#4B27AA
RGBrgb(75, 39, 170)
HSLhsl(256, 63%, 41%)
HSVhsv(256, 77%, 67%)
CMYKcmyk(55.9%, 77.1%, 0%, 33.3%)
CIE-LABlab(29.03, 48.70, -63.89)
CIE-LCHlch(29.03, 80.33, 307.31°)
OKLaboklab(41% 0.0564 -0.1839)
OKLCHoklch(41% 0.192 287.1)
XYZxyz(10.8807, 5.8486, 38.5780)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B27AA #86AA27
analogous
#2744AA #4B27AA #8C27AA
triadic
#4B27AA #AA4B27 #27AA4B
tetradic
#4B27AA #AA2744 #86AA27 #27AA8C
square
#4B27AA #AA2744 #86AA27 #27AA8C
split-complementary
#4B27AA #AA8C27 #44AA27
monochromatic
#1F1046 #351C78 #4B27AA #653CD2 #8C6EDE

Accessibility & contrast

On white

9.68
#4B27AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4B27AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B27AA
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B27AA#FFFFFF#000000##FFFFFF
##4B27AA1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#0041A8
Tritanopia (blue-blind)
#214C67
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4b27aa;
/* rgb */ color: rgb(75, 39, 170);
/* oklch */ color: oklch(41.0% 0.192 287.1);
Tailwind
colors: {
  custom: {
    50: '#8866c4',
    500: '#4b27aa',
    950: '#000000',
  },
}
SCSS
$custom: #4b27aa;
$custom-light: #8866c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b27aa",
  "rgb": {
    "r": 75,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 256.489,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41002,
    "c": 0.19235,
    "h": 287.1
  },
  "luminance": 0.05849
}

Semantic roles & 50–950 ramp

primary
#4B27AA
secondary
#ABC469
accent
#E642B9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4B27AA

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

Preview Lab → · Contrast checker → · Palette generator →

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