#4B2E97#4B2E97

#4B2E97 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.2% C 0.162 H 289.8°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#4B2E97
RGBrgb(75, 46, 151)
HSLhsl(257, 53%, 39%)
HSVhsv(257, 70%, 59%)
CMYKcmyk(50.3%, 69.5%, 0%, 40.8%)
CIE-LABlab(28.60, 39.50, -53.06)
CIE-LCHlch(28.60, 66.14, 306.66°)
OKLaboklab(40.17% 0.0548 -0.1522)
OKLCHoklch(40.17% 0.162 289.8)
XYZxyz(9.4630, 5.6838, 29.8706)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2E97 #7A972E
analogous
#2E4697 #4B2E97 #7F2E97
triadic
#4B2E97 #974B2E #2E974B
tetradic
#4B2E97 #972E46 #7A972E #2E977F
square
#4B2E97 #972E46 #7A972E #2E977F
split-complementary
#4B2E97 #977F2E #46972E
monochromatic
#1C1139 #342068 #4B2E97 #633EC4 #896DD2

Accessibility & contrast

On white

9.83
#4B2E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4B2E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2E97
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2E97#FFFFFF#000000##FFFFFF
##4B2E971.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#31485F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4b2e97;
/* rgb */ color: rgb(75, 46, 151);
/* oklch */ color: oklch(40.2% 0.162 289.8);
Tailwind
colors: {
  custom: {
    50: '#8569b6',
    500: '#4b2e97',
    950: '#000000',
  },
}
SCSS
$custom: #4b2e97;
$custom-light: #8569b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2e97",
  "rgb": {
    "r": 75,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 256.571,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4017,
    "c": 0.16173,
    "h": 289.8
  },
  "luminance": 0.05684
}

Semantic roles & 50–950 ramp

primary
#4B2E97
secondary
#A3BA67
accent
#DD4BB4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4B2E97

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

Preview Lab → · Contrast checker → · Palette generator →

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