#4D2293#4D2293

#4D2293 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.171 H 294.1°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#4D2293
RGBrgb(77, 34, 147)
HSLhsl(263, 62%, 35%)
HSVhsv(263, 77%, 58%)
CMYKcmyk(47.6%, 76.9%, 0%, 42.4%)
CIE-LABlab(26.24, 44.96, -54.45)
CIE-LCHlch(26.24, 70.61, 309.55°)
OKLaboklab(38.44% 0.0699 -0.1561)
OKLCHoklch(38.44% 0.171 294.1)
XYZxyz(8.8976, 4.8282, 28.0612)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2293 #689322
analogous
#222F93 #4D2293 #852293
triadic
#4D2293 #934D22 #22934D
tetradic
#4D2293 #93222F #689322 #229385
square
#4D2293 #93222F #689322 #229385
split-complementary
#4D2293 #938522 #2F9322
monochromatic
#190B30 #331761 #4D2293 #672DC5 #8857D8

Accessibility & contrast

On white

10.68
#4D2293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D2293
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2293#FFFFFF#000000##FFFFFF
##4D22931.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003C91
Tritanopia (blue-blind)
#384159
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4d2293;
/* rgb */ color: rgb(77, 34, 147);
/* oklch */ color: oklch(38.4% 0.171 294.1);
Tailwind
colors: {
  custom: {
    50: '#8662b4',
    500: '#4d2293',
    950: '#000000',
  },
}
SCSS
$custom: #4d2293;
$custom-light: #8662b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2293",
  "rgb": {
    "r": 77,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 262.832,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38439,
    "c": 0.17105,
    "h": 294.1
  },
  "luminance": 0.04828
}

Semantic roles & 50–950 ramp

primary
#4D2293
secondary
#95BC55
accent
#E542A7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4D2293

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

Preview Lab → · Contrast checker → · Palette generator →

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