#4D2C90#4D2C90

#4D2C90 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.156 H 293.1°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#4D2C90
RGBrgb(77, 44, 144)
HSLhsl(260, 53%, 37%)
HSVhsv(260, 69%, 56%)
CMYKcmyk(46.5%, 69.4%, 0%, 43.5%)
CIE-LABlab(27.82, 38.94, -50.01)
CIE-LCHlch(27.82, 63.38, 307.91°)
OKLaboklab(39.48% 0.0609 -0.1431)
OKLCHoklch(39.48% 0.156 293.1)
XYZxyz(8.9939, 5.3925, 26.9471)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2C90 #6F902C
analogous
#2C3D90 #4D2C90 #7F2C90
triadic
#4D2C90 #904D2C #2C904D
tetradic
#4D2C90 #902C3D #6F902C #2C907F
square
#4D2C90 #902C3D #6F902C #2C907F
split-complementary
#4D2C90 #907F2C #3D902C
monochromatic
#1B0F32 #341E61 #4D2C90 #663ABF #8966D0

Accessibility & contrast

On white

10.10
#4D2C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4D2C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2C90
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2C90#FFFFFF#000000##FFFFFF
##4D2C901.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#39455A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4d2c90;
/* rgb */ color: rgb(77, 44, 144);
/* oklch */ color: oklch(39.5% 0.156 293.1);
Tailwind
colors: {
  custom: {
    50: '#8568b1',
    500: '#4d2c90',
    950: '#000000',
  },
}
SCSS
$custom: #4d2c90;
$custom-light: #8568b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2c90",
  "rgb": {
    "r": 77,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 259.8,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39482,
    "c": 0.15556,
    "h": 293.1
  },
  "luminance": 0.05393
}

Semantic roles & 50–950 ramp

primary
#4D2C90
secondary
#9AB761
accent
#DD4BAD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D2C90

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

Preview Lab → · Contrast checker → · Palette generator →

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