#4B2196#4B2196

#4B2196 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.175 H 292.4°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#4B2196
RGBrgb(75, 33, 150)
HSLhsl(262, 64%, 36%)
HSVhsv(262, 78%, 59%)
CMYKcmyk(50%, 78%, 0%, 41.2%)
CIE-LABlab(26.11, 45.94, -56.51)
CIE-LCHlch(26.11, 72.83, 309.11°)
OKLaboklab(38.38% 0.0668 -0.1622)
OKLCHoklch(38.38% 0.175 292.4)
XYZxyz(8.9490, 4.7853, 29.3004)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2196 #6C9621
analogous
#213296 #4B2196 #852196
triadic
#4B2196 #964B21 #21964B
tetradic
#4B2196 #962132 #6C9621 #219685
square
#4B2196 #962132 #6C9621 #219685
split-complementary
#4B2196 #968521 #329621
monochromatic
#190B32 #321664 #4B2196 #642CC8 #8657DA

Accessibility & contrast

On white

10.73
#4B2196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4B2196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2196
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2196#FFFFFF#000000##FFFFFF
##4B21961.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003B94
Tritanopia (blue-blind)
#33415B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4b2196;
/* rgb */ color: rgb(75, 33, 150);
/* oklch */ color: oklch(38.4% 0.175 292.4);
Tailwind
colors: {
  custom: {
    50: '#8561b6',
    500: '#4b2196',
    950: '#000000',
  },
}
SCSS
$custom: #4b2196;
$custom-light: #8561b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2196",
  "rgb": {
    "r": 75,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 261.538,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38382,
    "c": 0.17544,
    "h": 292.4
  },
  "luminance": 0.04786
}

Semantic roles & 50–950 ramp

primary
#4B2196
secondary
#98BE55
accent
#E741AB
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B2196

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

Preview Lab → · Contrast checker → · Palette generator →

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