#4D289B#4D289B

#4D289B is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.174 H 291.1°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#4D289B
RGBrgb(77, 40, 155)
HSLhsl(259, 59%, 38%)
HSVhsv(259, 74%, 61%)
CMYKcmyk(50.3%, 74.2%, 0%, 39.2%)
CIE-LABlab(28.01, 44.23, -56.46)
CIE-LCHlch(28.01, 71.72, 308.07°)
OKLaboklab(39.91% 0.0626 -0.162)
OKLCHoklch(39.91% 0.174 291.1)
XYZxyz(9.7341, 5.4615, 31.5453)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D289B #769B28
analogous
#283D9B #4D289B #86289B
triadic
#4D289B #9B4D28 #289B4D
tetradic
#4D289B #9B283D #769B28 #289B86
square
#4D289B #9B283D #769B28 #289B86
split-complementary
#4D289B #9B8628 #3D9B28
monochromatic
#1D0F3A #351B6A #4D289B #6535CB #8A66D7

Accessibility & contrast

On white

10.04
#4D289B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4D289B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D289B
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D289B#FFFFFF#000000##FFFFFF
##4D289B1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#004099
Tritanopia (blue-blind)
#33475F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4d289b;
/* rgb */ color: rgb(77, 40, 155);
/* oklch */ color: oklch(39.9% 0.174 291.1);
Tailwind
colors: {
  custom: {
    50: '#8766b9',
    500: '#4d289b',
    950: '#000000',
  },
}
SCSS
$custom: #4d289b;
$custom-light: #8766b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d289b",
  "rgb": {
    "r": 77,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 259.304,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.3991,
    "c": 0.17372,
    "h": 291.1
  },
  "luminance": 0.05462
}

Semantic roles & 50–950 ramp

primary
#4D289B
secondary
#A0BD61
accent
#E246B0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4D289B

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

Preview Lab → · Contrast checker → · Palette generator →

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