#4F1EA0#4F1EA0

#4F1EA0 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.5% C 0.189 H 292.4°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#4F1EA0
RGBrgb(79, 30, 160)
HSLhsl(263, 68%, 37%)
HSVhsv(263, 81%, 63%)
CMYKcmyk(50.6%, 81.3%, 0%, 37.3%)
CIE-LABlab(27.10, 50.53, -61.00)
CIE-LCHlch(27.10, 79.21, 309.64°)
OKLaboklab(39.47% 0.0722 -0.1752)
OKLCHoklch(39.47% 0.189 292.4)
XYZxyz(10.0321, 5.1285, 33.7122)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1EA0 #6FA01E
analogous
#1E2EA0 #4F1EA0 #901EA0
triadic
#4F1EA0 #A04F1E #1EA04F
tetradic
#4F1EA0 #A01E2E #6FA01E #1EA090
square
#4F1EA0 #A01E2E #6FA01E #1EA090
split-complementary
#4F1EA0 #A0901E #2EA01E
monochromatic
#1C0B39 #36146C #4F1EA0 #6828D4 #8C59E0

Accessibility & contrast

On white

10.37
#4F1EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1EA0
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1EA0#FFFFFF#000000##FFFFFF
##4F1EA01.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A4
Deuteranopia (green-blind)
#003D9E
Tritanopia (blue-blind)
#344460
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4f1ea0;
/* rgb */ color: rgb(79, 30, 160);
/* oklch */ color: oklch(39.5% 0.189 292.4);
Tailwind
colors: {
  custom: {
    50: '#8961bd',
    500: '#4f1ea0',
    950: '#000000',
  },
}
SCSS
$custom: #4f1ea0;
$custom-light: #8961bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1ea0",
  "rgb": {
    "r": 79,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 262.615,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39467,
    "c": 0.18949,
    "h": 292.4
  },
  "luminance": 0.05129
}

Semantic roles & 50–950 ramp

primary
#4F1EA0
secondary
#9AC456
accent
#EB3DA9
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #4F1EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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