#4F2E8D#4F2E8D

#4F2E8D is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.7% C 0.149 H 294.6°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#4F2E8D
RGBrgb(79, 46, 141)
HSLhsl(261, 51%, 37%)
HSVhsv(261, 67%, 55%)
CMYKcmyk(44%, 67.4%, 0%, 44.7%)
CIE-LABlab(28.22, 37.37, -47.50)
CIE-LCHlch(28.22, 60.44, 308.19°)
OKLaboklab(39.74% 0.0621 -0.1357)
OKLCHoklch(39.74% 0.149 294.6)
XYZxyz(9.0079, 5.5391, 25.7887)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2E8D #6C8D2E
analogous
#2E3D8D #4F2E8D #7F2E8D
triadic
#4F2E8D #8D4F2E #2E8D4F
tetradic
#4F2E8D #8D2E3D #6C8D2E #2E8D7F
square
#4F2E8D #8D2E3D #6C8D2E #2E8D7F
split-complementary
#4F2E8D #8D7F2E #3D8D2E
monochromatic
#1B1031 #351F5F #4F2E8D #693DBB #8B68CE

Accessibility & contrast

On white

9.96
#4F2E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4F2E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2E8D
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2E8D#FFFFFF#000000##FFFFFF
##4F2E8D1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#3E4459
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4f2e8d;
/* rgb */ color: rgb(79, 46, 141);
/* oklch */ color: oklch(39.7% 0.149 294.6);
Tailwind
colors: {
  custom: {
    50: '#8669af',
    500: '#4f2e8d',
    950: '#000000',
  },
}
SCSS
$custom: #4f2e8d;
$custom-light: #8669af;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2e8d",
  "rgb": {
    "r": 79,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 260.842,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39742,
    "c": 0.14926,
    "h": 294.6
  },
  "luminance": 0.05539
}

Semantic roles & 50–950 ramp

primary
#4F2E8D
secondary
#98B562
accent
#DA4EA9
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #4F2E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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