#4B2B97#4B2B97

#4B2B97 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.7% C 0.165 H 290.4°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#4B2B97
RGBrgb(75, 43, 151)
HSLhsl(258, 56%, 38%)
HSVhsv(258, 72%, 59%)
CMYKcmyk(50.3%, 71.5%, 0%, 40.8%)
CIE-LABlab(28.00, 41.15, -54.04)
CIE-LCHlch(28.00, 67.92, 307.29°)
OKLaboklab(39.74% 0.0577 -0.155)
OKLCHoklch(39.74% 0.165 290.4)
XYZxyz(9.3498, 5.4576, 29.8329)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2B97 #77972B
analogous
#2B4197 #4B2B97 #812B97
triadic
#4B2B97 #974B2B #2B974B
tetradic
#4B2B97 #972B41 #77972B #2B9781
square
#4B2B97 #972B41 #77972B #2B9781
split-complementary
#4B2B97 #97812B #41972B
monochromatic
#1C1038 #331D67 #4B2B97 #6339C7 #8868D4

Accessibility & contrast

On white

10.04
#4B2B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4B2B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2B97
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2B97#FFFFFF#000000##FFFFFF
##4B2B971.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#31475E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4b2b97;
/* rgb */ color: rgb(75, 43, 151);
/* oklch */ color: oklch(39.7% 0.165 290.4);
Tailwind
colors: {
  custom: {
    50: '#8567b6',
    500: '#4b2b97',
    950: '#000000',
  },
}
SCSS
$custom: #4b2b97;
$custom-light: #8567b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2b97",
  "rgb": {
    "r": 75,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 257.778,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39742,
    "c": 0.16542,
    "h": 290.4
  },
  "luminance": 0.05458
}

Semantic roles & 50–950 ramp

primary
#4B2B97
secondary
#A1BB63
accent
#DF49B2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4B2B97

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

Preview Lab → · Contrast checker → · Palette generator →

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