#4F1E73#4F1E73

#4F1E73 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.140 H 306.9°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#4F1E73
RGBrgb(79, 30, 115)
HSLhsl(275, 59%, 28%)
HSVhsv(275, 74%, 45%)
CMYKcmyk(31.3%, 73.9%, 0%, 54.9%)
CIE-LABlab(23.10, 38.87, -39.43)
CIE-LCHlch(23.10, 55.37, 314.59°)
OKLaboklab(35.43% 0.0841 -0.1119)
OKLCHoklch(35.43% 0.14 306.9)
XYZxyz(6.7826, 3.8287, 16.5980)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1E73 #42731E
analogous
#241E73 #4F1E73 #731E6C
triadic
#4F1E73 #734F1E #1E734F
tetradic
#4F1E73 #73241E #42731E #1E6C73
square
#4F1E73 #73241E #42731E #1E6C73
split-complementary
#4F1E73 #6C731E #1E7324
monochromatic
#110618 #2E1142 #4F1E73 #702BA4 #913FCD

Accessibility & contrast

On white

11.89
#4F1E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#4F1E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1E73
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1E73#FFFFFF#000000##FFFFFF
##4F1E731.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#033771
Tritanopia (blue-blind)
#493146
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4f1e73;
/* rgb */ color: rgb(79, 30, 115);
/* oklch */ color: oklch(35.4% 0.140 306.9);
Tailwind
colors: {
  custom: {
    50: '#845e9c',
    500: '#4f1e73',
    950: '#000000',
  },
}
SCSS
$custom: #4f1e73;
$custom-light: #845e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1e73",
  "rgb": {
    "r": 79,
    "g": 30,
    "b": 115
  },
  "hsl": {
    "h": 274.588,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35428,
    "c": 0.13997,
    "h": 306.9
  },
  "luminance": 0.03829
}

Semantic roles & 50–950 ramp

primary
#4F1E73
secondary
#6FA746
accent
#E24688
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4F1E73

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

Preview Lab → · Contrast checker → · Palette generator →

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