#4B27AB#4B27AB

#4B27AB is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.194 H 286.9°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#4B27AB
RGBrgb(75, 39, 171)
HSLhsl(256, 63%, 41%)
HSVhsv(256, 77%, 67%)
CMYKcmyk(56.1%, 77.2%, 0%, 32.9%)
CIE-LABlab(29.12, 48.98, -64.33)
CIE-LCHlch(29.12, 80.85, 307.29°)
OKLaboklab(41.1% 0.0562 -0.1852)
OKLCHoklch(41.1% 0.194 286.9)
XYZxyz(10.9757, 5.8866, 39.0781)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B27AB #87AB27
analogous
#2745AB #4B27AB #8D27AB
triadic
#4B27AB #AB4B27 #27AB4B
tetradic
#4B27AB #AB2745 #87AB27 #27AB8D
square
#4B27AB #AB2745 #87AB27 #27AB8D
split-complementary
#4B27AB #AB8D27 #45AB27
monochromatic
#1F1047 #351C79 #4B27AB #653DD3 #8D6EDE

Accessibility & contrast

On white

9.64
#4B27AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4B27AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B27AB
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B27AB#FFFFFF#000000##FFFFFF
##4B27AB1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#0041A9
Tritanopia (blue-blind)
#1F4D68
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b27ab;
/* rgb */ color: rgb(75, 39, 171);
/* oklch */ color: oklch(41.1% 0.194 286.9);
Tailwind
colors: {
  custom: {
    50: '#8866c5',
    500: '#4b27ab',
    950: '#000000',
  },
}
SCSS
$custom: #4b27ab;
$custom-light: #8866c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b27ab",
  "rgb": {
    "r": 75,
    "g": 39,
    "b": 171
  },
  "hsl": {
    "h": 256.364,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.411,
    "c": 0.1935,
    "h": 286.9
  },
  "luminance": 0.05887
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B27AB

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

Preview Lab → · Contrast checker → · Palette generator →

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