#4F2592#4F2592

#4F2592 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.9% C 0.167 H 295.0°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#4F2592
RGBrgb(79, 37, 146)
HSLhsl(263, 60%, 36%)
HSVhsv(263, 75%, 57%)
CMYKcmyk(45.9%, 74.7%, 0%, 42.7%)
CIE-LABlab(26.91, 43.57, -52.73)
CIE-LCHlch(26.91, 68.40, 309.56°)
OKLaboklab(38.94% 0.0705 -0.151)
OKLCHoklch(38.94% 0.167 295)
XYZxyz(9.0729, 5.0605, 27.6873)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2592 #689225
analogous
#253192 #4F2592 #852592
triadic
#4F2592 #924F25 #25924F
tetradic
#4F2592 #922531 #689225 #259285
square
#4F2592 #922531 #689225 #259285
split-complementary
#4F2592 #928525 #319225
monochromatic
#1A0C30 #351961 #4F2592 #6931C3 #8B5CD6

Accessibility & contrast

On white

10.44
#4F2592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4F2592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2592
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2592#FFFFFF#000000##FFFFFF
##4F25921.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003E90
Tritanopia (blue-blind)
#3C4159
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4f2592;
/* rgb */ color: rgb(79, 37, 146);
/* oklch */ color: oklch(38.9% 0.167 295.0);
Tailwind
colors: {
  custom: {
    50: '#8764b3',
    500: '#4f2592',
    950: '#000000',
  },
}
SCSS
$custom: #4f2592;
$custom-light: #8764b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2592",
  "rgb": {
    "r": 79,
    "g": 37,
    "b": 146
  },
  "hsl": {
    "h": 263.119,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38936,
    "c": 0.16669,
    "h": 295
  },
  "luminance": 0.05061
}

Semantic roles & 50–950 ramp

primary
#4F2592
secondary
#95BA58
accent
#E345A6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2592

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

Preview Lab → · Contrast checker → · Palette generator →

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