#4F2584#4F2584

#4F2584 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.7% C 0.150 H 299.3°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#4F2584
RGBrgb(79, 37, 132)
HSLhsl(267, 56%, 33%)
HSVhsv(267, 72%, 52%)
CMYKcmyk(40.2%, 72%, 0%, 48.2%)
CIE-LABlab(25.72, 39.76, -45.96)
CIE-LCHlch(25.72, 60.77, 310.86°)
OKLaboklab(37.72% 0.0735 -0.1311)
OKLCHoklch(37.72% 0.15 299.3)
XYZxyz(8.0498, 4.6512, 22.2990)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2584 #5A8425
analogous
#252B84 #4F2584 #7E2584
triadic
#4F2584 #844F25 #25844F
tetradic
#4F2584 #84252B #5A8425 #25847E
square
#4F2584 #84252B #5A8425 #25847E
split-complementary
#4F2584 #847E25 #2B8425
monochromatic
#160A24 #321854 #4F2584 #6C32B4 #8B54CF

Accessibility & contrast

On white

10.88
#4F2584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#4F2584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2584
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2584#FFFFFF#000000##FFFFFF
##4F25841.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#003C82
Tritanopia (blue-blind)
#433C51
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4f2584;
/* rgb */ color: rgb(79, 37, 132);
/* oklch */ color: oklch(37.7% 0.150 299.3);
Tailwind
colors: {
  custom: {
    50: '#8563a8',
    500: '#4f2584',
    950: '#000000',
  },
}
SCSS
$custom: #4f2584;
$custom-light: #8563a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2584",
  "rgb": {
    "r": 79,
    "g": 37,
    "b": 132
  },
  "hsl": {
    "h": 266.526,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37722,
    "c": 0.15031,
    "h": 299.3
  },
  "luminance": 0.04651
}

Semantic roles & 50–950 ramp

primary
#4F2584
secondary
#88B351
accent
#E0489D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #4F2584

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

Preview Lab → · Contrast checker → · Palette generator →

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