#4B2192#4B2192

#4B2192 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.171 H 293.4°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#4B2192
RGBrgb(75, 33, 146)
HSLhsl(262, 63%, 35%)
HSVhsv(262, 77%, 57%)
CMYKcmyk(48.6%, 77.4%, 0%, 42.7%)
CIE-LABlab(25.74, 44.84, -54.66)
CIE-LCHlch(25.74, 70.70, 309.36°)
OKLaboklab(38% 0.0679 -0.1568)
OKLCHoklch(38% 0.171 293.4)
XYZxyz(8.6324, 4.6586, 27.6329)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2192 #689221
analogous
#213092 #4B2192 #832192
triadic
#4B2192 #924B21 #21924B
tetradic
#4B2192 #922130 #689221 #219283
square
#4B2192 #922130 #689221 #219283
split-complementary
#4B2192 #928321 #309221
monochromatic
#180A2E #311660 #4B2192 #652CC4 #8655D9

Accessibility & contrast

On white

10.87
#4B2192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#4B2192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2192
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2192#FFFFFF#000000##FFFFFF
##4B21921.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#354058
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4b2192;
/* rgb */ color: rgb(75, 33, 146);
/* oklch */ color: oklch(38.0% 0.171 293.4);
Tailwind
colors: {
  custom: {
    50: '#8561b3',
    500: '#4b2192',
    950: '#000000',
  },
}
SCSS
$custom: #4b2192;
$custom-light: #8561b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2192",
  "rgb": {
    "r": 75,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 262.301,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38004,
    "c": 0.17088,
    "h": 293.4
  },
  "luminance": 0.04659
}

Semantic roles & 50–950 ramp

primary
#4B2192
secondary
#95BC53
accent
#E642A9
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B2192

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

Preview Lab → · Contrast checker → · Palette generator →

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