#4F2484#4F2484

#4F2484 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.152 H 299.4°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#4F2484
RGBrgb(79, 36, 132)
HSLhsl(267, 57%, 33%)
HSVhsv(267, 73%, 52%)
CMYKcmyk(40.2%, 72.7%, 0%, 48.2%)
CIE-LABlab(25.53, 40.28, -46.26)
CIE-LCHlch(25.53, 61.34, 311.04°)
OKLaboklab(37.59% 0.0745 -0.132)
OKLCHoklch(37.59% 0.152 299.4)
XYZxyz(8.0191, 4.5899, 22.2888)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2484 #598424
analogous
#242984 #4F2484 #7F2484
triadic
#4F2484 #844F24 #24844F
tetradic
#4F2484 #842429 #598424 #24847F
square
#4F2484 #842429 #598424 #24847F
split-complementary
#4F2484 #847F24 #298424
monochromatic
#150A24 #321754 #4F2484 #6C31B4 #8B52D0

Accessibility & contrast

On white

10.95
#4F2484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4F2484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2484
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2484#FFFFFF#000000##FFFFFF
##4F24841.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#003C82
Tritanopia (blue-blind)
#433B51
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4f2484;
/* rgb */ color: rgb(79, 36, 132);
/* oklch */ color: oklch(37.6% 0.152 299.4);
Tailwind
colors: {
  custom: {
    50: '#8563a9',
    500: '#4f2484',
    950: '#000000',
  },
}
SCSS
$custom: #4f2484;
$custom-light: #8563a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2484",
  "rgb": {
    "r": 79,
    "g": 36,
    "b": 132
  },
  "hsl": {
    "h": 266.875,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37591,
    "c": 0.1516,
    "h": 299.4
  },
  "luminance": 0.0459
}

Semantic roles & 50–950 ramp

primary
#4F2484
secondary
#87B450
accent
#E0479C
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #4F2484

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

Preview Lab → · Contrast checker → · Palette generator →

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