#4F2585#4F2585

#4F2585 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.8% C 0.151 H 298.9°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#4F2585
RGBrgb(79, 37, 133)
HSLhsl(266, 56%, 33%)
HSVhsv(266, 72%, 52%)
CMYKcmyk(40.6%, 72.2%, 0%, 47.8%)
CIE-LABlab(25.80, 40.03, -46.46)
CIE-LCHlch(25.80, 61.32, 310.75°)
OKLaboklab(37.81% 0.0733 -0.1326)
OKLCHoklch(37.81% 0.151 298.9)
XYZxyz(8.1186, 4.6788, 22.6611)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2585 #5B8525
analogous
#252B85 #4F2585 #7F2585
triadic
#4F2585 #854F25 #25854F
tetradic
#4F2585 #85252B #5B8525 #25857F
square
#4F2585 #85252B #5B8525 #25857F
split-complementary
#4F2585 #857F25 #2B8525
monochromatic
#160A25 #331855 #4F2585 #6B32B5 #8B55D0

Accessibility & contrast

On white

10.85
#4F2585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4F2585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2585
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2585#FFFFFF#000000##FFFFFF
##4F25851.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#423C52
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4f2585;
/* rgb */ color: rgb(79, 37, 133);
/* oklch */ color: oklch(37.8% 0.151 298.9);
Tailwind
colors: {
  custom: {
    50: '#8563a9',
    500: '#4f2585',
    950: '#000000',
  },
}
SCSS
$custom: #4f2585;
$custom-light: #8563a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2585",
  "rgb": {
    "r": 79,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 266.25,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37806,
    "c": 0.15149,
    "h": 298.9
  },
  "luminance": 0.04679
}

Semantic roles & 50–950 ramp

primary
#4F2585
secondary
#89B452
accent
#E0489D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #4F2585

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

Preview Lab → · Contrast checker → · Palette generator →

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