#4B2193#4B2193

#4B2193 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.172 H 293.2°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#4B2193
RGBrgb(75, 33, 147)
HSLhsl(262, 63%, 35%)
HSVhsv(262, 78%, 58%)
CMYKcmyk(49%, 77.6%, 0%, 42.4%)
CIE-LABlab(25.83, 45.11, -55.13)
CIE-LCHlch(25.83, 71.23, 309.30°)
OKLaboklab(38.1% 0.0677 -0.1582)
OKLCHoklch(38.1% 0.172 293.2)
XYZxyz(8.7105, 4.6899, 28.0444)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2193 #699321
analogous
#213093 #4B2193 #842193
triadic
#4B2193 #934B21 #21934B
tetradic
#4B2193 #932130 #699321 #219384
square
#4B2193 #932130 #699321 #219384
split-complementary
#4B2193 #938421 #309321
monochromatic
#180B2F #311661 #4B2193 #642CC5 #8655D9

Accessibility & contrast

On white

10.84
#4B2193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4B2193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2193
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2193#FFFFFF#000000##FFFFFF
##4B21931.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003B91
Tritanopia (blue-blind)
#354059
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4b2193;
/* rgb */ color: rgb(75, 33, 147);
/* oklch */ color: oklch(38.1% 0.172 293.2);
Tailwind
colors: {
  custom: {
    50: '#8561b4',
    500: '#4b2193',
    950: '#000000',
  },
}
SCSS
$custom: #4b2193;
$custom-light: #8561b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2193",
  "rgb": {
    "r": 75,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 262.105,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38098,
    "c": 0.17203,
    "h": 293.2
  },
  "luminance": 0.0469
}

Semantic roles & 50–950 ramp

primary
#4B2193
secondary
#96BD53
accent
#E641AA
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B2193

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

Preview Lab → · Contrast checker → · Palette generator →

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