#4F2491#4F2491

#4F2491 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.7% C 0.167 H 295.5°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#4F2491
RGBrgb(79, 36, 145)
HSLhsl(264, 60%, 35%)
HSVhsv(264, 75%, 57%)
CMYKcmyk(45.5%, 75.2%, 0%, 43.1%)
CIE-LABlab(26.64, 43.79, -52.54)
CIE-LCHlch(26.64, 68.40, 309.81°)
OKLaboklab(38.72% 0.0717 -0.1505)
OKLCHoklch(38.72% 0.167 295.5)
XYZxyz(8.9648, 4.9681, 27.2692)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2491 #669124
analogous
#242F91 #4F2491 #852491
triadic
#4F2491 #914F24 #24914F
tetradic
#4F2491 #91242F #669124 #249185
square
#4F2491 #91242F #669124 #249185
split-complementary
#4F2491 #918524 #2F9124
monochromatic
#1A0C2F #341860 #4F2491 #6A30C2 #8B59D6

Accessibility & contrast

On white

10.53
#4F2491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4F2491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2491
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2491#FFFFFF#000000##FFFFFF
##4F24911.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#003D8F
Tritanopia (blue-blind)
#3D4158
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4f2491;
/* rgb */ color: rgb(79, 36, 145);
/* oklch */ color: oklch(38.7% 0.167 295.5);
Tailwind
colors: {
  custom: {
    50: '#8763b2',
    500: '#4f2491',
    950: '#000000',
  },
}
SCSS
$custom: #4f2491;
$custom-light: #8763b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2491",
  "rgb": {
    "r": 79,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 263.67,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38723,
    "c": 0.16668,
    "h": 295.5
  },
  "luminance": 0.04968
}

Semantic roles & 50–950 ramp

primary
#4F2491
secondary
#93BA56
accent
#E344A5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4F2491

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

Preview Lab → · Contrast checker → · Palette generator →

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