#4F1E8A#4F1E8A

#4F1E8A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.165 H 298.5°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#4F1E8A
RGBrgb(79, 30, 138)
HSLhsl(267, 64%, 33%)
HSVhsv(267, 78%, 54%)
CMYKcmyk(42.8%, 78.3%, 0%, 45.9%)
CIE-LABlab(25.03, 44.74, -50.83)
CIE-LCHlch(25.03, 67.72, 311.36°)
OKLaboklab(37.4% 0.079 -0.1454)
OKLCHoklch(37.4% 0.165 298.5)
XYZxyz(8.2750, 4.4257, 24.4581)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1E8A #598A1E
analogous
#1E238A #4F1E8A #851E8A
triadic
#4F1E8A #8A4F1E #1E8A4F
tetradic
#4F1E8A #8A1E23 #598A1E #1E8A85
square
#4F1E8A #8A1E23 #598A1E #1E8A85
split-complementary
#4F1E8A #8A851E #238A1E
monochromatic
#150825 #321358 #4F1E8A #6C29BC #8B4BD8

Accessibility & contrast

On white

11.14
#4F1E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4F1E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1E8A
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1E8A#FFFFFF#000000##FFFFFF
##4F1E8A1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#403B53
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4f1e8a;
/* rgb */ color: rgb(79, 30, 138);
/* oklch */ color: oklch(37.4% 0.165 298.5);
Tailwind
colors: {
  custom: {
    50: '#8660ad',
    500: '#4f1e8a',
    950: '#000000',
  },
}
SCSS
$custom: #4f1e8a;
$custom-light: #8660ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1e8a",
  "rgb": {
    "r": 79,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 267.222,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37397,
    "c": 0.16547,
    "h": 298.5
  },
  "luminance": 0.04426
}

Semantic roles & 50–950 ramp

primary
#4F1E8A
secondary
#87BA4A
accent
#E7419C
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F1E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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