#4D2F92#4D2F92

#4D2F92 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.1% C 0.154 H 291.9°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#4D2F92
RGBrgb(77, 47, 146)
HSLhsl(258, 51%, 38%)
HSVhsv(258, 68%, 57%)
CMYKcmyk(47.3%, 67.8%, 0%, 42.7%)
CIE-LABlab(28.61, 37.84, -49.97)
CIE-LCHlch(28.61, 62.68, 307.13°)
OKLaboklab(40.09% 0.0574 -0.143)
OKLCHoklch(40.09% 0.154 291.9)
XYZxyz(9.2639, 5.6858, 27.7979)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2F92 #74922F
analogous
#2F4292 #4D2F92 #7E2F92
triadic
#4D2F92 #924D2F #2F924D
tetradic
#4D2F92 #922F42 #74922F #2F927E
square
#4D2F92 #922F42 #74922F #2F927E
split-complementary
#4D2F92 #927E2F #42922F
monochromatic
#1C1135 #352064 #4D2F92 #653EC0 #8A6CD0

Accessibility & contrast

On white

9.83
#4D2F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4D2F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2F92
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2F92#FFFFFF#000000##FFFFFF
##4D2F921.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#004190
Tritanopia (blue-blind)
#38475C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4d2f92;
/* rgb */ color: rgb(77, 47, 146);
/* oklch */ color: oklch(40.1% 0.154 291.9);
Tailwind
colors: {
  custom: {
    50: '#856ab3',
    500: '#4d2f92',
    950: '#000000',
  },
}
SCSS
$custom: #4d2f92;
$custom-light: #856ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2f92",
  "rgb": {
    "r": 77,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 258.182,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40094,
    "c": 0.15413,
    "h": 291.9
  },
  "luminance": 0.05686
}

Semantic roles & 50–950 ramp

primary
#4D2F92
secondary
#9EB766
accent
#DB4DB0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D2F92

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

Preview Lab → · Contrast checker → · Palette generator →

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