#4B27A3#4B27A3

#4B27A3 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.184 H 288.5°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#4B27A3
RGBrgb(75, 39, 163)
HSLhsl(257, 61%, 40%)
HSVhsv(257, 76%, 64%)
CMYKcmyk(54%, 76.1%, 0%, 36.1%)
CIE-LABlab(28.36, 46.70, -60.77)
CIE-LCHlch(28.36, 76.64, 307.54°)
OKLaboklab(40.33% 0.0584 -0.1747)
OKLCHoklch(40.33% 0.184 288.5)
XYZxyz(10.2361, 5.5907, 35.1830)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B27A3 #7FA327
analogous
#2741A3 #4B27A3 #8927A3
triadic
#4B27A3 #A34B27 #27A34B
tetradic
#4B27A3 #A32741 #7FA327 #27A389
square
#4B27A3 #A32741 #7FA327 #27A389
split-complementary
#4B27A3 #A38927 #41A327
monochromatic
#1E0F40 #341B72 #4B27A3 #6438CF #8A69DB

Accessibility & contrast

On white

9.91
#4B27A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4B27A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B27A3
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B27A3#FFFFFF#000000##FFFFFF
##4B27A31.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#0040A1
Tritanopia (blue-blind)
#284963
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4b27a3;
/* rgb */ color: rgb(75, 39, 163);
/* oklch */ color: oklch(40.3% 0.184 288.5);
Tailwind
colors: {
  custom: {
    50: '#8765bf',
    500: '#4b27a3',
    950: '#000000',
  },
}
SCSS
$custom: #4b27a3;
$custom-light: #8765bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b27a3",
  "rgb": {
    "r": 75,
    "g": 39,
    "b": 163
  },
  "hsl": {
    "h": 257.419,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40328,
    "c": 0.18423,
    "h": 288.5
  },
  "luminance": 0.05591
}

Semantic roles & 50–950 ramp

primary
#4B27A3
secondary
#A6C164
accent
#E443B6
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B27A3

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

Preview Lab → · Contrast checker → · Palette generator →

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