#4F1E7A#4F1E7A

#4F1E7A is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.148 H 304.1°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#4F1E7A
RGBrgb(79, 30, 122)
HSLhsl(272, 61%, 30%)
HSVhsv(272, 75%, 48%)
CMYKcmyk(35.2%, 75.4%, 0%, 52.2%)
CIE-LABlab(23.66, 40.63, -42.99)
CIE-LCHlch(23.66, 59.15, 313.38°)
OKLaboklab(36% 0.0828 -0.1224)
OKLCHoklch(36% 0.148 304.1)
XYZxyz(7.2008, 3.9960, 18.8005)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1E7A #497A1E
analogous
#211E7A #4F1E7A #7A1E77
triadic
#4F1E7A #7A4F1E #1E7A4F
tetradic
#4F1E7A #7A211E #497A1E #1E777A
square
#4F1E7A #7A211E #497A1E #1E777A
split-complementary
#4F1E7A #777A1E #1E7A21
monochromatic
#100619 #2F1249 #4F1E7A #6F2AAB #8E42D0

Accessibility & contrast

On white

11.67
#4F1E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4F1E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1E7A
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1E7A#FFFFFF#000000##FFFFFF
##4F1E7A1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377D
Deuteranopia (green-blind)
#003878
Tritanopia (blue-blind)
#47344A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4f1e7a;
/* rgb */ color: rgb(79, 30, 122);
/* oklch */ color: oklch(36.0% 0.148 304.1);
Tailwind
colors: {
  custom: {
    50: '#855fa1',
    500: '#4f1e7a',
    950: '#000000',
  },
}
SCSS
$custom: #4f1e7a;
$custom-light: #855fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1e7a",
  "rgb": {
    "r": 79,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 271.957,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36003,
    "c": 0.14776,
    "h": 304.1
  },
  "luminance": 0.03996
}

Semantic roles & 50–950 ramp

primary
#4F1E7A
secondary
#77AE46
accent
#E4448F
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4F1E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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