#4B277A#4B277A

#4B277A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.7% C 0.135 H 299.6°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#4B277A
RGBrgb(75, 39, 122)
HSLhsl(266, 52%, 32%)
HSVhsv(266, 68%, 48%)
CMYKcmyk(38.5%, 68%, 0%, 52.2%)
CIE-LABlab(24.80, 35.09, -41.16)
CIE-LCHlch(24.80, 54.09, 310.45°)
OKLaboklab(36.7% 0.0667 -0.1172)
OKLCHoklch(36.7% 0.135 299.6)
XYZxyz(7.1392, 4.3520, 18.8725)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B277A #567A27
analogous
#272D7A #4B277A #75277A
triadic
#4B277A #7A4B27 #277A4B
tetradic
#4B277A #7A272D #567A27 #277A75
square
#4B277A #7A272D #567A27 #277A75
split-complementary
#4B277A #7A7527 #2D7A27
monochromatic
#12091D #2E184C #4B277A #6836A8 #8653C8

Accessibility & contrast

On white

11.23
#4B277A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4B277A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B277A
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B277A#FFFFFF#000000##FFFFFF
##4B277A1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#003A78
Tritanopia (blue-blind)
#403A4D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4b277a;
/* rgb */ color: rgb(75, 39, 122);
/* oklch */ color: oklch(36.7% 0.135 299.6);
Tailwind
colors: {
  custom: {
    50: '#8164a1',
    500: '#4b277a',
    950: '#000000',
  },
}
SCSS
$custom: #4b277a;
$custom-light: #8164a1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b277a",
  "rgb": {
    "r": 75,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 266.024,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36702,
    "c": 0.13481,
    "h": 299.6
  },
  "luminance": 0.04352
}

Semantic roles & 50–950 ramp

primary
#4B277A
secondary
#84AC51
accent
#DB4D9D
background
#F8F6FA
surface
#EFEBF3
border
#CAC6CD
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #4B277A

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

Preview Lab → · Contrast checker → · Palette generator →

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