#4F1E97#4F1E97

#4F1E97 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.6% C 0.180 H 294.7°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#4F1E97
RGBrgb(79, 30, 151)
HSLhsl(264, 67%, 35%)
HSVhsv(264, 80%, 59%)
CMYKcmyk(47.7%, 80.1%, 0%, 40.8%)
CIE-LABlab(26.23, 48.15, -56.92)
CIE-LCHlch(26.23, 74.55, 310.23°)
OKLaboklab(38.6% 0.0751 -0.1633)
OKLCHoklch(38.6% 0.18 294.7)
XYZxyz(9.2731, 4.8249, 29.7149)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1E97 #66971E
analogous
#1E2997 #4F1E97 #8C1E97
triadic
#4F1E97 #974F1E #1E974F
tetradic
#4F1E97 #971E29 #66971E #1E978C
square
#4F1E97 #971E29 #66971E #1E978C
split-complementary
#4F1E97 #978C1E #29971E
monochromatic
#1A0A31 #341464 #4F1E97 #6A28CA #8B53DD

Accessibility & contrast

On white

10.69
#4F1E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4F1E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1E97
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1E97#FFFFFF#000000##FFFFFF
##4F1E971.0010.691.9710.69
#FFFFFF10.691.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#3A405A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4f1e97;
/* rgb */ color: rgb(79, 30, 151);
/* oklch */ color: oklch(38.6% 0.180 294.7);
Tailwind
colors: {
  custom: {
    50: '#8860b7',
    500: '#4f1e97',
    950: '#000000',
  },
}
SCSS
$custom: #4f1e97;
$custom-light: #8860b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1e97",
  "rgb": {
    "r": 79,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 264.298,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38602,
    "c": 0.17971,
    "h": 294.7
  },
  "luminance": 0.04825
}

Semantic roles & 50–950 ramp

primary
#4F1E97
secondary
#93C051
accent
#EA3EA4
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4F1E97

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

Preview Lab → · Contrast checker → · Palette generator →

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