#4D2B90#4D2B90

#4D2B90 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.3% C 0.157 H 293.3°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#4D2B90
RGBrgb(77, 43, 144)
HSLhsl(260, 54%, 37%)
HSVhsv(260, 70%, 56%)
CMYKcmyk(46.5%, 70.1%, 0%, 43.5%)
CIE-LABlab(27.62, 39.50, -50.33)
CIE-LCHlch(27.62, 63.98, 308.12°)
OKLaboklab(39.34% 0.062 -0.1441)
OKLCHoklch(39.34% 0.157 293.3)
XYZxyz(8.9571, 5.3189, 26.9349)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2B90 #6E902B
analogous
#2B3C90 #4D2B90 #802B90
triadic
#4D2B90 #904D2B #2B904D
tetradic
#4D2B90 #902B3C #6E902B #2B9080
square
#4D2B90 #902B3C #6E902B #2B9080
split-complementary
#4D2B90 #90802B #3C902B
monochromatic
#1B0F32 #341D61 #4D2B90 #6639BF #8965D1

Accessibility & contrast

On white

10.18
#4D2B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4D2B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2B90
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2B90#FFFFFF#000000##FFFFFF
##4D2B901.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#39445A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d2b90;
/* rgb */ color: rgb(77, 43, 144);
/* oklch */ color: oklch(39.3% 0.157 293.3);
Tailwind
colors: {
  custom: {
    50: '#8567b1',
    500: '#4d2b90',
    950: '#000000',
  },
}
SCSS
$custom: #4d2b90;
$custom-light: #8567b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2b90",
  "rgb": {
    "r": 77,
    "g": 43,
    "b": 144
  },
  "hsl": {
    "h": 260.198,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39339,
    "c": 0.15685,
    "h": 293.3
  },
  "luminance": 0.05319
}

Semantic roles & 50–950 ramp

primary
#4D2B90
secondary
#9AB760
accent
#DD4AAC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D2B90

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

Preview Lab → · Contrast checker → · Palette generator →

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