#4B27AD#4B27AD

#4B27AD is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.196 H 286.5°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#4B27AD
RGBrgb(75, 39, 173)
HSLhsl(256, 63%, 42%)
HSVhsv(256, 77%, 68%)
CMYKcmyk(56.6%, 77.5%, 0%, 32.2%)
CIE-LABlab(29.32, 49.55, -65.21)
CIE-LCHlch(29.32, 81.90, 307.23°)
OKLaboklab(41.3% 0.0556 -0.1877)
OKLCHoklch(41.3% 0.196 286.5)
XYZxyz(11.1677, 5.9634, 40.0896)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B27AD #89AD27
analogous
#2746AD #4B27AD #8E27AD
triadic
#4B27AD #AD4B27 #27AD4B
tetradic
#4B27AD #AD2746 #89AD27 #27AD8E
square
#4B27AD #AD2746 #89AD27 #27AD8E
split-complementary
#4B27AD #AD8E27 #46AD27
monochromatic
#201049 #351C7B #4B27AD #663ED3 #8E70DF

Accessibility & contrast

On white

9.58
#4B27AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B27AD
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B27AD#FFFFFF#000000##FFFFFF
##4B27AD1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B1
Deuteranopia (green-blind)
#0041AB
Tritanopia (blue-blind)
#1D4D69
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b27ad;
/* rgb */ color: rgb(75, 39, 173);
/* oklch */ color: oklch(41.3% 0.196 286.5);
Tailwind
colors: {
  custom: {
    50: '#8966c7',
    500: '#4b27ad',
    950: '#000000',
  },
}
SCSS
$custom: #4b27ad;
$custom-light: #8966c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b27ad",
  "rgb": {
    "r": 75,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 256.119,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41296,
    "c": 0.1958,
    "h": 286.5
  },
  "luminance": 0.05964
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B27AD

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

Preview Lab → · Contrast checker → · Palette generator →

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