#4B2997#4B2997

#4B2997 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.168 H 290.8°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#4B2997
RGBrgb(75, 41, 151)
HSLhsl(259, 57%, 38%)
HSVhsv(259, 73%, 59%)
CMYKcmyk(50.3%, 72.8%, 0%, 40.8%)
CIE-LABlab(27.62, 42.23, -54.67)
CIE-LCHlch(27.62, 69.08, 307.68°)
OKLaboklab(39.47% 0.0596 -0.1569)
OKLCHoklch(39.47% 0.168 290.8)
XYZxyz(9.2789, 5.3157, 29.8093)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2997 #759729
analogous
#293E97 #4B2997 #822997
triadic
#4B2997 #974B29 #29974B
tetradic
#4B2997 #97293E #759729 #299782
square
#4B2997 #97293E #759729 #299782
split-complementary
#4B2997 #978229 #3E9729
monochromatic
#1B0F37 #331C67 #4B2997 #6336C7 #8865D5

Accessibility & contrast

On white

10.18
#4B2997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4B2997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2997
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2997#FFFFFF#000000##FFFFFF
##4B29971.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#32465D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4b2997;
/* rgb */ color: rgb(75, 41, 151);
/* oklch */ color: oklch(39.5% 0.168 290.8);
Tailwind
colors: {
  custom: {
    50: '#8566b7',
    500: '#4b2997',
    950: '#000000',
  },
}
SCSS
$custom: #4b2997;
$custom-light: #8566b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2997",
  "rgb": {
    "r": 75,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 258.545,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39468,
    "c": 0.1678,
    "h": 290.8
  },
  "luminance": 0.05316
}

Semantic roles & 50–950 ramp

primary
#4B2997
secondary
#9FBB61
accent
#E147B1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4B2997

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

Preview Lab → · Contrast checker → · Palette generator →

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