#4F2984#4F2984

#4F2984 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.3% C 0.145 H 298.4°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#4F2984
RGBrgb(79, 41, 132)
HSLhsl(265, 53%, 34%)
HSVhsv(265, 69%, 52%)
CMYKcmyk(40.2%, 68.9%, 0%, 48.2%)
CIE-LABlab(26.49, 37.63, -44.71)
CIE-LCHlch(26.49, 58.44, 310.08°)
OKLaboklab(38.27% 0.069 -0.1275)
OKLCHoklch(38.27% 0.145 298.4)
XYZxyz(8.1812, 4.9140, 22.3428)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2984 #5E8429
analogous
#293184 #4F2984 #7D2984
triadic
#4F2984 #844F29 #29844F
tetradic
#4F2984 #842931 #5E8429 #29847D
square
#4F2984 #842931 #5E8429 #29847D
split-complementary
#4F2984 #847D29 #318429
monochromatic
#170C27 #331A55 #4F2984 #6B38B3 #8A5BCC

Accessibility & contrast

On white

10.59
#4F2984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4F2984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2984
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2984#FFFFFF#000000##FFFFFF
##4F29841.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#003E82
Tritanopia (blue-blind)
#423E53
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4f2984;
/* rgb */ color: rgb(79, 41, 132);
/* oklch */ color: oklch(38.3% 0.145 298.4);
Tailwind
colors: {
  custom: {
    50: '#8565a8',
    500: '#4f2984',
    950: '#000000',
  },
}
SCSS
$custom: #4f2984;
$custom-light: #8565a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2984",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 132
  },
  "hsl": {
    "h": 265.055,
    "s": 52.601,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38274,
    "c": 0.14496,
    "h": 298.4
  },
  "luminance": 0.04914
}

Semantic roles & 50–950 ramp

primary
#4F2984
secondary
#8CB257
accent
#DC4CA0
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4F2984

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

Preview Lab → · Contrast checker → · Palette generator →

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