#4B2299#4B2299

#4B2299 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.8% C 0.178 H 291.5°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#4B2299
RGBrgb(75, 34, 153)
HSLhsl(261, 64%, 37%)
HSVhsv(261, 78%, 60%)
CMYKcmyk(51%, 77.8%, 0%, 40%)
CIE-LABlab(26.56, 46.30, -57.62)
CIE-LCHlch(26.56, 73.92, 308.78°)
OKLaboklab(38.78% 0.0651 -0.1655)
OKLCHoklch(38.78% 0.178 291.5)
XYZxyz(9.2218, 4.9395, 30.5983)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2299 #709922
analogous
#223599 #4B2299 #872299
triadic
#4B2299 #994B22 #22994B
tetradic
#4B2299 #992235 #709922 #229987
square
#4B2299 #992235 #709922 #229987
split-complementary
#4B2299 #998722 #359922
monochromatic
#1A0C35 #321767 #4B2299 #642DCB #875BDB

Accessibility & contrast

On white

10.56
#4B2299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4B2299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2299
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2299#FFFFFF#000000##FFFFFF
##4B22991.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#003C97
Tritanopia (blue-blind)
#31435C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4b2299;
/* rgb */ color: rgb(75, 34, 153);
/* oklch */ color: oklch(38.8% 0.178 291.5);
Tailwind
colors: {
  custom: {
    50: '#8662b8',
    500: '#4b2299',
    950: '#000000',
  },
}
SCSS
$custom: #4b2299;
$custom-light: #8662b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2299",
  "rgb": {
    "r": 75,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 260.672,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38781,
    "c": 0.17783,
    "h": 291.5
  },
  "luminance": 0.0494
}

Semantic roles & 50–950 ramp

primary
#4B2299
secondary
#9BBF58
accent
#E741AE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4B2299

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

Preview Lab → · Contrast checker → · Palette generator →

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