#4D2294#4D2294

#4D2294 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.172 H 293.9°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#4D2294
RGBrgb(77, 34, 148)
HSLhsl(263, 63%, 36%)
HSVhsv(263, 77%, 58%)
CMYKcmyk(48%, 77%, 0%, 42%)
CIE-LABlab(26.33, 45.23, -54.92)
CIE-LCHlch(26.33, 71.15, 309.48°)
OKLaboklab(38.53% 0.0696 -0.1575)
OKLCHoklch(38.53% 0.172 293.9)
XYZxyz(8.9764, 4.8597, 28.4763)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2294 #699422
analogous
#223094 #4D2294 #862294
triadic
#4D2294 #944D22 #22944D
tetradic
#4D2294 #942230 #699422 #229486
square
#4D2294 #942230 #699422 #229486
split-complementary
#4D2294 #948622 #309422
monochromatic
#190B30 #331762 #4D2294 #672DC6 #8858D9

Accessibility & contrast

On white

10.65
#4D2294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4D2294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2294
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2294#FFFFFF#000000##FFFFFF
##4D22941.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d2294;
/* rgb */ color: rgb(77, 34, 148);
/* oklch */ color: oklch(38.5% 0.172 293.9);
Tailwind
colors: {
  custom: {
    50: '#8662b4',
    500: '#4d2294',
    950: '#000000',
  },
}
SCSS
$custom: #4d2294;
$custom-light: #8662b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2294",
  "rgb": {
    "r": 77,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 262.632,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38531,
    "c": 0.1722,
    "h": 293.9
  },
  "luminance": 0.0486
}

Semantic roles & 50–950 ramp

primary
#4D2294
secondary
#96BD55
accent
#E642A8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4D2294

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

Preview Lab → · Contrast checker → · Palette generator →

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