#4F2884#4F2884

#4F2884 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.1% C 0.146 H 298.6°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#4F2884
RGBrgb(79, 40, 132)
HSLhsl(265, 53%, 34%)
HSVhsv(265, 70%, 52%)
CMYKcmyk(40.2%, 69.7%, 0%, 48.2%)
CIE-LABlab(26.29, 38.17, -45.03)
CIE-LCHlch(26.29, 59.03, 310.29°)
OKLaboklab(38.13% 0.0701 -0.1284)
OKLCHoklch(38.13% 0.146 298.6)
XYZxyz(8.1470, 4.8457, 22.3314)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2884 #5D8428
analogous
#282F84 #4F2884 #7D2884
triadic
#4F2884 #844F28 #28844F
tetradic
#4F2884 #84282F #5D8428 #28847D
square
#4F2884 #84282F #5D8428 #28847D
split-complementary
#4F2884 #847D28 #2F8428
monochromatic
#170C26 #331A55 #4F2884 #6B36B3 #8A5ACD

Accessibility & contrast

On white

10.66
#4F2884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4F2884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2884
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2884#FFFFFF#000000##FFFFFF
##4F28841.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E87
Deuteranopia (green-blind)
#003D82
Tritanopia (blue-blind)
#423E52
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4f2884;
/* rgb */ color: rgb(79, 40, 132);
/* oklch */ color: oklch(38.1% 0.146 298.6);
Tailwind
colors: {
  custom: {
    50: '#8565a8',
    500: '#4f2884',
    950: '#000000',
  },
}
SCSS
$custom: #4f2884;
$custom-light: #8565a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2884",
  "rgb": {
    "r": 79,
    "g": 40,
    "b": 132
  },
  "hsl": {
    "h": 265.435,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38132,
    "c": 0.14633,
    "h": 298.6
  },
  "luminance": 0.04846
}

Semantic roles & 50–950 ramp

primary
#4F2884
secondary
#8BB256
accent
#DD4B9F
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4F2884

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

Preview Lab → · Contrast checker → · Palette generator →

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