#4B279A#4B279A

#4B279A is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.174 H 290.5°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#4B279A
RGBrgb(75, 39, 154)
HSLhsl(259, 60%, 38%)
HSVhsv(259, 75%, 60%)
CMYKcmyk(51.3%, 74.7%, 0%, 39.6%)
CIE-LABlab(27.52, 44.13, -56.66)
CIE-LCHlch(27.52, 71.82, 307.91°)
OKLaboklab(39.48% 0.0607 -0.1627)
OKLCHoklch(39.48% 0.174 290.5)
XYZxyz(9.4582, 5.2796, 31.0863)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B279A #769A27
analogous
#273C9A #4B279A #84279A
triadic
#4B279A #9A4B27 #279A4B
tetradic
#4B279A #9A273C #769A27 #279A84
square
#4B279A #9A273C #769A27 #279A84
split-complementary
#4B279A #9A8427 #3C9A27
monochromatic
#1B0E38 #331B69 #4B279A #6333CB #8864D8

Accessibility & contrast

On white

10.21
#4B279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4B279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B279A
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B279A#FFFFFF#000000##FFFFFF
##4B279A1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#30465E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4b279a;
/* rgb */ color: rgb(75, 39, 154);
/* oklch */ color: oklch(39.5% 0.174 290.5);
Tailwind
colors: {
  custom: {
    50: '#8665b9',
    500: '#4b279a',
    950: '#000000',
  },
}
SCSS
$custom: #4b279a;
$custom-light: #8665b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b279a",
  "rgb": {
    "r": 75,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 258.783,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39481,
    "c": 0.17367,
    "h": 290.5
  },
  "luminance": 0.0528
}

Semantic roles & 50–950 ramp

primary
#4B279A
secondary
#A0BD5F
accent
#E345B1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B279A

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

Preview Lab → · Contrast checker → · Palette generator →

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