#4F1E7C#4F1E7C

#4F1E7C is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.150 H 303.3°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#4F1E7C
RGBrgb(79, 30, 124)
HSLhsl(271, 61%, 30%)
HSVhsv(271, 76%, 49%)
CMYKcmyk(36.3%, 75.8%, 0%, 51.4%)
CIE-LABlab(23.82, 41.14, -44.00)
CIE-LCHlch(23.82, 60.23, 313.08°)
OKLaboklab(36.17% 0.0824 -0.1253)
OKLCHoklch(36.17% 0.15 303.3)
XYZxyz(7.3260, 4.0461, 19.4599)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1E7C #4B7C1E
analogous
#201E7C #4F1E7C #7C1E7A
triadic
#4F1E7C #7C4F1E #1E7C4F
tetradic
#4F1E7C #7C201E #4B7C1E #1E7A7C
square
#4F1E7C #7C201E #4B7C1E #1E7A7C
split-complementary
#4F1E7C #7A7C1E #1E7C20
monochromatic
#100619 #30124B #4F1E7C #6E2AAD #8D43D1

Accessibility & contrast

On white

11.61
#4F1E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4F1E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1E7C
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1E7C#FFFFFF#000000##FFFFFF
##4F1E7C1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#46354B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4f1e7c;
/* rgb */ color: rgb(79, 30, 124);
/* oklch */ color: oklch(36.2% 0.150 303.3);
Tailwind
colors: {
  custom: {
    50: '#855fa3',
    500: '#4f1e7c',
    950: '#000000',
  },
}
SCSS
$custom: #4f1e7c;
$custom-light: #855fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1e7c",
  "rgb": {
    "r": 79,
    "g": 30,
    "b": 124
  },
  "hsl": {
    "h": 271.277,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36171,
    "c": 0.14998,
    "h": 303.3
  },
  "luminance": 0.04046
}

Semantic roles & 50–950 ramp

primary
#4F1E7C
secondary
#79AF46
accent
#E44490
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4F1E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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