#4D289C#4D289C

#4D289C is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.175 H 290.9°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#4D289C
RGBrgb(77, 40, 156)
HSLhsl(259, 59%, 38%)
HSVhsv(259, 74%, 61%)
CMYKcmyk(50.6%, 74.4%, 0%, 38.8%)
CIE-LABlab(28.10, 44.51, -56.92)
CIE-LCHlch(28.10, 72.26, 308.03°)
OKLaboklab(40% 0.0624 -0.1634)
OKLCHoklch(40% 0.175 290.9)
XYZxyz(9.8184, 5.4953, 31.9894)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D289C #779C28
analogous
#283D9C #4D289C #87289C
triadic
#4D289C #9C4D28 #289C4D
tetradic
#4D289C #9C283D #779C28 #289C87
square
#4D289C #9C283D #779C28 #289C87
split-complementary
#4D289C #9C8728 #3D9C28
monochromatic
#1D0F3B #351C6B #4D289C #6636CB #8B67D8

Accessibility & contrast

On white

10.00
#4D289C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4D289C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D289C
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D289C#FFFFFF#000000##FFFFFF
##4D289C1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#324760
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4d289c;
/* rgb */ color: rgb(77, 40, 156);
/* oklch */ color: oklch(40.0% 0.175 290.9);
Tailwind
colors: {
  custom: {
    50: '#8766ba',
    500: '#4d289c',
    950: '#000000',
  },
}
SCSS
$custom: #4d289c;
$custom-light: #8766ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4d289c",
  "rgb": {
    "r": 77,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 259.138,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40002,
    "c": 0.1749,
    "h": 290.9
  },
  "luminance": 0.05496
}

Semantic roles & 50–950 ramp

primary
#4D289C
secondary
#A1BE62
accent
#E245B0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4D289C

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

Preview Lab → · Contrast checker → · Palette generator →

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