#4B2194#4B2194

#4B2194 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.173 H 292.9°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#4B2194
RGBrgb(75, 33, 148)
HSLhsl(262, 64%, 35%)
HSVhsv(262, 78%, 58%)
CMYKcmyk(49.3%, 77.7%, 0%, 42%)
CIE-LABlab(25.93, 45.39, -55.59)
CIE-LCHlch(25.93, 71.77, 309.23°)
OKLaboklab(38.19% 0.0674 -0.1595)
OKLCHoklch(38.19% 0.173 292.9)
XYZxyz(8.7893, 4.7214, 28.4594)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2194 #6A9421
analogous
#213094 #4B2194 #842194
triadic
#4B2194 #944B21 #21944B
tetradic
#4B2194 #942130 #6A9421 #219484
square
#4B2194 #942130 #6A9421 #219484
split-complementary
#4B2194 #948421 #309421
monochromatic
#180B30 #321662 #4B2194 #642CC6 #8656D9

Accessibility & contrast

On white

10.80
#4B2194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B2194
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2194#FFFFFF#000000##FFFFFF
##4B21941.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#344159
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4b2194;
/* rgb */ color: rgb(75, 33, 148);
/* oklch */ color: oklch(38.2% 0.173 292.9);
Tailwind
colors: {
  custom: {
    50: '#8561b4',
    500: '#4b2194',
    950: '#000000',
  },
}
SCSS
$custom: #4b2194;
$custom-light: #8561b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2194",
  "rgb": {
    "r": 75,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 261.913,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38192,
    "c": 0.17317,
    "h": 292.9
  },
  "luminance": 0.04722
}

Semantic roles & 50–950 ramp

primary
#4B2194
secondary
#97BD54
accent
#E741AA
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B2194

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

Preview Lab → · Contrast checker → · Palette generator →

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