#4F1EA1#4F1EA1

#4F1EA1 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.191 H 292.1°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#4F1EA1
RGBrgb(79, 30, 161)
HSLhsl(262, 69%, 37%)
HSVhsv(262, 81%, 63%)
CMYKcmyk(50.9%, 81.4%, 0%, 36.9%)
CIE-LABlab(27.20, 50.79, -61.44)
CIE-LCHlch(27.20, 79.72, 309.58°)
OKLaboklab(39.57% 0.0719 -0.1765)
OKLCHoklch(39.57% 0.191 292.1)
XYZxyz(10.1199, 5.1636, 34.1748)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1EA1 #70A11E
analogous
#1E2EA1 #4F1EA1 #911EA1
triadic
#4F1EA1 #A14F1E #1EA14F
tetradic
#4F1EA1 #A11E2E #70A11E #1EA191
square
#4F1EA1 #A11E2E #70A11E #1EA191
split-complementary
#4F1EA1 #A1911E #2EA11E
monochromatic
#1C0B3A #36146D #4F1EA1 #6828D5 #8C59E0

Accessibility & contrast

On white

10.33
#4F1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4F1EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1EA1
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1EA1#FFFFFF#000000##FFFFFF
##4F1EA11.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A5
Deuteranopia (green-blind)
#003E9F
Tritanopia (blue-blind)
#334460
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4f1ea1;
/* rgb */ color: rgb(79, 30, 161);
/* oklch */ color: oklch(39.6% 0.191 292.1);
Tailwind
colors: {
  custom: {
    50: '#8a61be',
    500: '#4f1ea1',
    950: '#000000',
  },
}
SCSS
$custom: #4f1ea1;
$custom-light: #8a61be;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1ea1",
  "rgb": {
    "r": 79,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 262.443,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39565,
    "c": 0.19057,
    "h": 292.1
  },
  "luminance": 0.05164
}

Semantic roles & 50–950 ramp

primary
#4F1EA1
secondary
#9BC457
accent
#EB3CAA
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #4F1EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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