#4F289A#4F289A

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

Color values

HEX#4F289A
RGBrgb(79, 40, 154)
HSLhsl(261, 59%, 38%)
HSVhsv(261, 74%, 60%)
CMYKcmyk(48.7%, 74%, 0%, 39.6%)
CIE-LABlab(28.15, 44.28, -55.61)
CIE-LCHlch(28.15, 71.09, 308.53°)
OKLaboklab(40.03% 0.0659 -0.1595)
OKLCHoklch(40.03% 0.173 292.4)
XYZxyz(9.8143, 5.5126, 31.1125)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F289A #739A28
analogous
#283A9A #4F289A #88289A
triadic
#4F289A #9A4F28 #289A4F
tetradic
#4F289A #9A283A #739A28 #289A88
square
#4F289A #9A283A #739A28 #289A88
split-complementary
#4F289A #9A8828 #3A9A28
monochromatic
#1D0F39 #361B69 #4F289A #6835CA #8C65D7

Accessibility & contrast

On white

9.99
#4F289A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F289A
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F289A#FFFFFF#000000##FFFFFF
##4F289A1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#004098
Tritanopia (blue-blind)
#37465F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4f289a;
/* rgb */ color: rgb(79, 40, 154);
/* oklch */ color: oklch(40.0% 0.173 292.4);
Tailwind
colors: {
  custom: {
    50: '#8866b9',
    500: '#4f289a',
    950: '#000000',
  },
}
SCSS
$custom: #4f289a;
$custom-light: #8866b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f289a",
  "rgb": {
    "r": 79,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 260.526,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40031,
    "c": 0.17258,
    "h": 292.4
  },
  "luminance": 0.05513
}

Semantic roles & 50–950 ramp

primary
#4F289A
secondary
#9DBD61
accent
#E246AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4F289A

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

Preview Lab → · Contrast checker → · Palette generator →

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