#4F2599#4F2599

#4F2599 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.175 H 293.2°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#4F2599
RGBrgb(79, 37, 153)
HSLhsl(262, 61%, 37%)
HSVhsv(262, 76%, 60%)
CMYKcmyk(48.4%, 75.8%, 0%, 40%)
CIE-LABlab(27.53, 45.49, -56.01)
CIE-LCHlch(27.53, 72.16, 309.08°)
OKLaboklab(39.57% 0.0688 -0.1606)
OKLCHoklch(39.57% 0.175 293.2)
XYZxyz(9.6342, 5.2850, 30.6433)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2599 #6F9925
analogous
#253599 #4F2599 #892599
triadic
#4F2599 #994F25 #25994F
tetradic
#4F2599 #992535 #6F9925 #259989
square
#4F2599 #992535 #6F9925 #259989
split-complementary
#4F2599 #998925 #359925
monochromatic
#1C0D36 #361968 #4F2599 #6831CA #8C60D9

Accessibility & contrast

On white

10.21
#4F2599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4F2599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2599
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2599#FFFFFF#000000##FFFFFF
##4F25991.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#38445D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4f2599;
/* rgb */ color: rgb(79, 37, 153);
/* oklch */ color: oklch(39.6% 0.175 293.2);
Tailwind
colors: {
  custom: {
    50: '#8864b8',
    500: '#4f2599',
    950: '#000000',
  },
}
SCSS
$custom: #4f2599;
$custom-light: #8864b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2599",
  "rgb": {
    "r": 79,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 261.724,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39569,
    "c": 0.17476,
    "h": 293.2
  },
  "luminance": 0.05285
}

Semantic roles & 50–950 ramp

primary
#4F2599
secondary
#9ABE5C
accent
#E444AA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2599

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

Preview Lab → · Contrast checker → · Palette generator →

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