#4F1E9F#4F1E9F

#4F1E9F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.188 H 292.6°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#4F1E9F
RGBrgb(79, 30, 159)
HSLhsl(263, 68%, 37%)
HSVhsv(263, 81%, 62%)
CMYKcmyk(50.3%, 81.1%, 0%, 37.6%)
CIE-LABlab(27.00, 50.26, -60.55)
CIE-LCHlch(27.00, 78.69, 309.70°)
OKLaboklab(39.37% 0.0725 -0.1739)
OKLCHoklch(39.37% 0.188 292.6)
XYZxyz(9.9450, 5.0937, 33.2533)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1E9F #6E9F1E
analogous
#1E2D9F #4F1E9F #901E9F
triadic
#4F1E9F #9F4F1E #1E9F4F
tetradic
#4F1E9F #9F1E2D #6E9F1E #1E9F90
square
#4F1E9F #9F1E2D #6E9F1E #1E9F90
split-complementary
#4F1E9F #9F901E #2D9F1E
monochromatic
#1C0B38 #35146C #4F1E9F #6928D2 #8B58DF

Accessibility & contrast

On white

10.40
#4F1E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1E9F
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1E9F#FFFFFF#000000##FFFFFF
##4F1E9F1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A3
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#35445F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4f1e9f;
/* rgb */ color: rgb(79, 30, 159);
/* oklch */ color: oklch(39.4% 0.188 292.6);
Tailwind
colors: {
  custom: {
    50: '#8961bd',
    500: '#4f1e9f',
    950: '#000000',
  },
}
SCSS
$custom: #4f1e9f;
$custom-light: #8961bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1e9f",
  "rgb": {
    "r": 79,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 262.791,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.3937,
    "c": 0.18841,
    "h": 292.6
  },
  "luminance": 0.05094
}

Semantic roles & 50–950 ramp

primary
#4F1E9F
secondary
#9AC356
accent
#EB3DA9
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0D0512
muted
#7D7A81

Preview Lab

Preview with #4F1E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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