#4B2296#4B2296

#4B2296 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.174 H 292.2°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#4B2296
RGBrgb(75, 34, 150)
HSLhsl(261, 63%, 36%)
HSVhsv(261, 77%, 59%)
CMYKcmyk(50%, 77.3%, 0%, 41.2%)
CIE-LABlab(26.28, 45.47, -56.24)
CIE-LCHlch(26.28, 72.32, 308.95°)
OKLaboklab(38.5% 0.066 -0.1614)
OKLCHoklch(38.5% 0.174 292.2)
XYZxyz(8.9772, 4.8416, 29.3098)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2296 #6D9622
analogous
#223396 #4B2296 #852296
triadic
#4B2296 #964B22 #22964B
tetradic
#4B2296 #962233 #6D9622 #229685
square
#4B2296 #962233 #6D9622 #229685
split-complementary
#4B2296 #968522 #339622
monochromatic
#190B32 #321764 #4B2296 #642DC8 #8659D9

Accessibility & contrast

On white

10.67
#4B2296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4B2296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2296
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2296#FFFFFF#000000##FFFFFF
##4B22961.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#33425B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4b2296;
/* rgb */ color: rgb(75, 34, 150);
/* oklch */ color: oklch(38.5% 0.174 292.2);
Tailwind
colors: {
  custom: {
    50: '#8562b6',
    500: '#4b2296',
    950: '#000000',
  },
}
SCSS
$custom: #4b2296;
$custom-light: #8562b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2296",
  "rgb": {
    "r": 75,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 261.207,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38497,
    "c": 0.17441,
    "h": 292.2
  },
  "luminance": 0.04842
}

Semantic roles & 50–950 ramp

primary
#4B2296
secondary
#99BE56
accent
#E642AC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4B2296

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

Preview Lab → · Contrast checker → · Palette generator →

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