#4B2D97#4B2D97

#4B2D97 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.163 H 290.0°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#4B2D97
RGBrgb(75, 45, 151)
HSLhsl(257, 54%, 38%)
HSVhsv(257, 70%, 59%)
CMYKcmyk(50.3%, 70.2%, 0%, 40.8%)
CIE-LABlab(28.40, 40.06, -53.39)
CIE-LCHlch(28.40, 66.74, 306.88°)
OKLaboklab(40.03% 0.0558 -0.1531)
OKLCHoklch(40.03% 0.163 290)
XYZxyz(9.4244, 5.6066, 29.8578)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2D97 #79972D
analogous
#2D4497 #4B2D97 #802D97
triadic
#4B2D97 #974B2D #2D974B
tetradic
#4B2D97 #972D44 #79972D #2D9780
square
#4B2D97 #972D44 #79972D #2D9780
split-complementary
#4B2D97 #97802D #44972D
monochromatic
#1C1139 #341F68 #4B2D97 #633CC5 #896BD3

Accessibility & contrast

On white

9.90
#4B2D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4B2D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2D97
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2D97#FFFFFF#000000##FFFFFF
##4B2D971.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b2d97;
/* rgb */ color: rgb(75, 45, 151);
/* oklch */ color: oklch(40.0% 0.163 290.0);
Tailwind
colors: {
  custom: {
    50: '#8568b6',
    500: '#4b2d97',
    950: '#000000',
  },
}
SCSS
$custom: #4b2d97;
$custom-light: #8568b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2d97",
  "rgb": {
    "r": 75,
    "g": 45,
    "b": 151
  },
  "hsl": {
    "h": 256.981,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40025,
    "c": 0.16298,
    "h": 290
  },
  "luminance": 0.05607
}

Semantic roles & 50–950 ramp

primary
#4B2D97
secondary
#A2BA66
accent
#DD4AB4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4B2D97

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

Preview Lab → · Contrast checker → · Palette generator →

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