#4D2F90#4D2F90

#4D2F90 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.9% C 0.152 H 292.4°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#4D2F90
RGBrgb(77, 47, 144)
HSLhsl(259, 51%, 37%)
HSVhsv(259, 67%, 56%)
CMYKcmyk(46.5%, 67.4%, 0%, 43.5%)
CIE-LABlab(28.44, 37.25, -49.00)
CIE-LCHlch(28.44, 61.55, 307.24°)
OKLaboklab(39.93% 0.0577 -0.1402)
OKLCHoklch(39.93% 0.152 292.4)
XYZxyz(9.1097, 5.6241, 26.9857)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2F90 #72902F
analogous
#2F4190 #4D2F90 #7E2F90
triadic
#4D2F90 #904D2F #2F904D
tetradic
#4D2F90 #902F41 #72902F #2F907E
square
#4D2F90 #902F41 #72902F #2F907E
split-complementary
#4D2F90 #907E2F #41902F
monochromatic
#1C1134 #342062 #4D2F90 #663EBE #8A6BCF

Accessibility & contrast

On white

9.88
#4D2F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4D2F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2F90
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2F90#FFFFFF#000000##FFFFFF
##4D2F901.009.882.129.88
#FFFFFF9.881.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#39465B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4d2f90;
/* rgb */ color: rgb(77, 47, 144);
/* oklch */ color: oklch(39.9% 0.152 292.4);
Tailwind
colors: {
  custom: {
    50: '#8569b1',
    500: '#4d2f90',
    950: '#000000',
  },
}
SCSS
$custom: #4d2f90;
$custom-light: #8569b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2f90",
  "rgb": {
    "r": 77,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 258.557,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39927,
    "c": 0.15159,
    "h": 292.4
  },
  "luminance": 0.05624
}

Semantic roles & 50–950 ramp

primary
#4D2F90
secondary
#9DB665
accent
#DA4EAF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D2F90

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

Preview Lab → · Contrast checker → · Palette generator →

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