#4F2499#4F2499

#4F2499 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.176 H 293.3°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#4F2499
RGBrgb(79, 36, 153)
HSLhsl(262, 62%, 37%)
HSVhsv(262, 76%, 60%)
CMYKcmyk(48.4%, 76.5%, 0%, 40%)
CIE-LABlab(27.36, 45.97, -56.29)
CIE-LCHlch(27.36, 72.68, 309.24°)
OKLaboklab(39.45% 0.0697 -0.1615)
OKLCHoklch(39.45% 0.176 293.3)
XYZxyz(9.6035, 5.2236, 30.6331)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2499 #6E9924
analogous
#243499 #4F2499 #8A2499
triadic
#4F2499 #994F24 #24994F
tetradic
#4F2499 #992434 #6E9924 #24998A
square
#4F2499 #992434 #6E9924 #24998A
split-complementary
#4F2499 #998A24 #349924
monochromatic
#1C0D36 #351867 #4F2499 #6930CB #8B5ED9

Accessibility & contrast

On white

10.27
#4F2499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4F2499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2499
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2499#FFFFFF#000000##FFFFFF
##4F24991.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f2499;
/* rgb */ color: rgb(79, 36, 153);
/* oklch */ color: oklch(39.5% 0.176 293.3);
Tailwind
colors: {
  custom: {
    50: '#8864b8',
    500: '#4f2499',
    950: '#000000',
  },
}
SCSS
$custom: #4f2499;
$custom-light: #8864b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2499",
  "rgb": {
    "r": 79,
    "g": 36,
    "b": 153
  },
  "hsl": {
    "h": 262.051,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.3945,
    "c": 0.17585,
    "h": 293.3
  },
  "luminance": 0.05224
}

Semantic roles & 50–950 ramp

primary
#4F2499
secondary
#9ABE5B
accent
#E543A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2499

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

Preview Lab → · Contrast checker → · Palette generator →

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