#4F2594#4F2594

#4F2594 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.169 H 294.5°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#4F2594
RGBrgb(79, 37, 148)
HSLhsl(263, 60%, 36%)
HSVhsv(263, 75%, 58%)
CMYKcmyk(46.6%, 75%, 0%, 42%)
CIE-LABlab(27.08, 44.12, -53.67)
CIE-LCHlch(27.08, 69.48, 309.42°)
OKLaboklab(39.12% 0.0701 -0.1538)
OKLCHoklch(39.12% 0.169 294.5)
XYZxyz(9.2299, 5.1233, 28.5138)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2594 #6A9425
analogous
#253394 #4F2594 #872594
triadic
#4F2594 #944F25 #25944F
tetradic
#4F2594 #942533 #6A9425 #259487
square
#4F2594 #942533 #6A9425 #259487
split-complementary
#4F2594 #948725 #339425
monochromatic
#1B0D32 #351963 #4F2594 #6931C5 #8B5DD6

Accessibility & contrast

On white

10.37
#4F2594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4F2594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2594
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2594#FFFFFF#000000##FFFFFF
##4F25941.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#003E92
Tritanopia (blue-blind)
#3B425A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4f2594;
/* rgb */ color: rgb(79, 37, 148);
/* oklch */ color: oklch(39.1% 0.169 294.5);
Tailwind
colors: {
  custom: {
    50: '#8764b4',
    500: '#4f2594',
    950: '#000000',
  },
}
SCSS
$custom: #4f2594;
$custom-light: #8764b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2594",
  "rgb": {
    "r": 79,
    "g": 37,
    "b": 148
  },
  "hsl": {
    "h": 262.703,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39115,
    "c": 0.169,
    "h": 294.5
  },
  "luminance": 0.05124
}

Semantic roles & 50–950 ramp

primary
#4F2594
secondary
#96BB59
accent
#E345A7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2594

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

Preview Lab → · Contrast checker → · Palette generator →

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