#4B2691#4B2691

#4B2691 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.164 H 292.8°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#4B2691
RGBrgb(75, 38, 145)
HSLhsl(261, 58%, 36%)
HSVhsv(261, 74%, 57%)
CMYKcmyk(48.3%, 73.8%, 0%, 43.1%)
CIE-LABlab(26.52, 42.08, -52.76)
CIE-LCHlch(26.52, 67.49, 308.58°)
OKLaboklab(38.53% 0.0637 -0.1513)
OKLCHoklch(38.53% 0.164 292.8)
XYZxyz(8.7042, 4.9261, 27.2748)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2691 #6C9126
analogous
#263691 #4B2691 #802691
triadic
#4B2691 #914B26 #26914B
tetradic
#4B2691 #912636 #6C9126 #269180
square
#4B2691 #912636 #6C9126 #269180
split-complementary
#4B2691 #918026 #369126
monochromatic
#190D30 #321961 #4B2691 #6433C1 #865DD5

Accessibility & contrast

On white

10.58
#4B2691 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4B2691 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2691
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2691#FFFFFF#000000##FFFFFF
##4B26911.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b2691;
/* rgb */ color: rgb(75, 38, 145);
/* oklch */ color: oklch(38.5% 0.164 292.8);
Tailwind
colors: {
  custom: {
    50: '#8464b2',
    500: '#4b2691',
    950: '#000000',
  },
}
SCSS
$custom: #4b2691;
$custom-light: #8464b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2691",
  "rgb": {
    "r": 75,
    "g": 38,
    "b": 145
  },
  "hsl": {
    "h": 260.748,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38529,
    "c": 0.16413,
    "h": 292.8
  },
  "luminance": 0.04926
}

Semantic roles & 50–950 ramp

primary
#4B2691
secondary
#98BA59
accent
#E246AC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4B2691

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

Preview Lab → · Contrast checker → · Palette generator →

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