#4F2989#4F2989

#4F2989 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.151 H 296.9°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#4F2989
RGBrgb(79, 41, 137)
HSLhsl(264, 54%, 35%)
HSVhsv(264, 70%, 54%)
CMYKcmyk(42.3%, 70.1%, 0%, 46.3%)
CIE-LABlab(26.89, 39.01, -47.18)
CIE-LCHlch(26.89, 61.22, 309.58°)
OKLaboklab(38.69% 0.0683 -0.1347)
OKLCHoklch(38.69% 0.151 296.9)
XYZxyz(8.5316, 5.0541, 24.1881)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2989 #638929
analogous
#293389 #4F2989 #7F2989
triadic
#4F2989 #894F29 #29894F
tetradic
#4F2989 #892933 #638929 #29897F
square
#4F2989 #892933 #638929 #29897F
split-complementary
#4F2989 #897F29 #338929
monochromatic
#190D2B #341B5A #4F2989 #6A37B8 #8A5ECF

Accessibility & contrast

On white

10.44
#4F2989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4F2989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2989
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2989#FFFFFF#000000##FFFFFF
##4F29891.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#404055
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4f2989;
/* rgb */ color: rgb(79, 41, 137);
/* oklch */ color: oklch(38.7% 0.151 296.9);
Tailwind
colors: {
  custom: {
    50: '#8666ac',
    500: '#4f2989',
    950: '#000000',
  },
}
SCSS
$custom: #4f2989;
$custom-light: #8666ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2989",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 137
  },
  "hsl": {
    "h": 263.75,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38686,
    "c": 0.15105,
    "h": 296.9
  },
  "luminance": 0.05054
}

Semantic roles & 50–950 ramp

primary
#4F2989
secondary
#90B45A
accent
#DD4AA3
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #4F2989

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

Preview Lab → · Contrast checker → · Palette generator →

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