#4B2294#4B2294

#4B2294 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.172 H 292.7°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#4B2294
RGBrgb(75, 34, 148)
HSLhsl(262, 63%, 36%)
HSVhsv(262, 77%, 58%)
CMYKcmyk(49.3%, 77%, 0%, 42%)
CIE-LABlab(26.09, 44.92, -55.32)
CIE-LCHlch(26.09, 71.26, 309.08°)
OKLaboklab(38.31% 0.0665 -0.1587)
OKLCHoklch(38.31% 0.172 292.7)
XYZxyz(8.8175, 4.7777, 28.4688)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2294 #6B9422
analogous
#223294 #4B2294 #842294
triadic
#4B2294 #944B22 #22944B
tetradic
#4B2294 #942232 #6B9422 #229484
square
#4B2294 #942232 #6B9422 #229484
split-complementary
#4B2294 #948422 #329422
monochromatic
#190B30 #321762 #4B2294 #642DC6 #8658D9

Accessibility & contrast

On white

10.74
#4B2294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B2294
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2294#FFFFFF#000000##FFFFFF
##4B22941.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#34415A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4b2294;
/* rgb */ color: rgb(75, 34, 148);
/* oklch */ color: oklch(38.3% 0.172 292.7);
Tailwind
colors: {
  custom: {
    50: '#8562b4',
    500: '#4b2294',
    950: '#000000',
  },
}
SCSS
$custom: #4b2294;
$custom-light: #8562b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2294",
  "rgb": {
    "r": 75,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 261.579,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38309,
    "c": 0.17212,
    "h": 292.7
  },
  "luminance": 0.04778
}

Semantic roles & 50–950 ramp

primary
#4B2294
secondary
#97BD55
accent
#E642AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4B2294

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

Preview Lab → · Contrast checker → · Palette generator →

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