#4B2791#4B2791

#4B2791 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.7% C 0.163 H 292.7°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#4B2791
RGBrgb(75, 39, 145)
HSLhsl(260, 58%, 36%)
HSVhsv(260, 73%, 57%)
CMYKcmyk(48.3%, 73.1%, 0%, 43.1%)
CIE-LABlab(26.71, 41.56, -52.46)
CIE-LCHlch(26.71, 66.93, 308.39°)
OKLaboklab(38.66% 0.0628 -0.1504)
OKLCHoklch(38.66% 0.163 292.7)
XYZxyz(8.7366, 4.9909, 27.2856)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2791 #6D9127
analogous
#273891 #4B2791 #802791
triadic
#4B2791 #914B27 #27914B
tetradic
#4B2791 #912738 #6D9127 #279180
square
#4B2791 #912738 #6D9127 #279180
split-complementary
#4B2791 #918027 #389127
monochromatic
#190D31 #321A61 #4B2791 #6434C1 #865FD4

Accessibility & contrast

On white

10.51
#4B2791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4B2791 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2791
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2791#FFFFFF#000000##FFFFFF
##4B27911.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#003D8F
Tritanopia (blue-blind)
#354259
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4b2791;
/* rgb */ color: rgb(75, 39, 145);
/* oklch */ color: oklch(38.7% 0.163 292.7);
Tailwind
colors: {
  custom: {
    50: '#8464b2',
    500: '#4b2791',
    950: '#000000',
  },
}
SCSS
$custom: #4b2791;
$custom-light: #8464b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2791",
  "rgb": {
    "r": 75,
    "g": 39,
    "b": 145
  },
  "hsl": {
    "h": 260.377,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38661,
    "c": 0.16295,
    "h": 292.7
  },
  "luminance": 0.04991
}

Semantic roles & 50–950 ramp

primary
#4B2791
secondary
#99B95B
accent
#E147AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4B2791

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

Preview Lab → · Contrast checker → · Palette generator →

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