#4B2292#4B2292

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

Color values

HEX#4B2292
RGBrgb(75, 34, 146)
HSLhsl(262, 62%, 35%)
HSVhsv(262, 77%, 57%)
CMYKcmyk(48.6%, 76.7%, 0%, 42.7%)
CIE-LABlab(25.91, 44.36, -54.39)
CIE-LCHlch(25.91, 70.18, 309.20°)
OKLaboklab(38.12% 0.0671 -0.156)
OKLCHoklch(38.12% 0.17 293.3)
XYZxyz(8.6605, 4.7150, 27.6423)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2292 #699222
analogous
#223192 #4B2292 #832292
triadic
#4B2292 #924B22 #22924B
tetradic
#4B2292 #922231 #699222 #229283
square
#4B2292 #922231 #699222 #229283
split-complementary
#4B2292 #928322 #319222
monochromatic
#180B2F #311660 #4B2292 #642EC4 #8657D8

Accessibility & contrast

On white

10.81
#4B2292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B2292
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2292#FFFFFF#000000##FFFFFF
##4B22921.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b2292;
/* rgb */ color: rgb(75, 34, 146);
/* oklch */ color: oklch(38.1% 0.170 293.3);
Tailwind
colors: {
  custom: {
    50: '#8562b3',
    500: '#4b2292',
    950: '#000000',
  },
}
SCSS
$custom: #4b2292;
$custom-light: #8562b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2292",
  "rgb": {
    "r": 75,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 261.964,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38122,
    "c": 0.16982,
    "h": 293.3
  },
  "luminance": 0.04715
}

Semantic roles & 50–950 ramp

primary
#4B2292
secondary
#96BC54
accent
#E543AA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4B2292

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

Preview Lab → · Contrast checker → · Palette generator →

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