#4F2E85#4F2E85

#4F2E85 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.1% C 0.139 H 296.9°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#4F2E85
RGBrgb(79, 46, 133)
HSLhsl(263, 49%, 35%)
HSVhsv(263, 65%, 52%)
CMYKcmyk(40.6%, 65.4%, 0%, 47.8%)
CIE-LABlab(27.60, 35.09, -43.54)
CIE-LCHlch(27.60, 55.91, 308.87°)
OKLaboklab(39.1% 0.063 -0.124)
OKLCHoklch(39.1% 0.139 296.9)
XYZxyz(8.4340, 5.3096, 22.7662)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2E85 #64852E
analogous
#2E3885 #4F2E85 #7B2E85
triadic
#4F2E85 #854F2E #2E854F
tetradic
#4F2E85 #852E38 #64852E #2E857B
square
#4F2E85 #852E38 #64852E #2E857B
split-complementary
#4F2E85 #857B2E #38852E
monochromatic
#190F2A #341E58 #4F2E85 #6A3EB2 #8A64C9

Accessibility & contrast

On white

10.18
#4F2E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4F2E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2E85
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2E85#FFFFFF#000000##FFFFFF
##4F2E851.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#004083
Tritanopia (blue-blind)
#424255
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4f2e85;
/* rgb */ color: rgb(79, 46, 133);
/* oklch */ color: oklch(39.1% 0.139 296.9);
Tailwind
colors: {
  custom: {
    50: '#8569a9',
    500: '#4f2e85',
    950: '#000000',
  },
}
SCSS
$custom: #4f2e85;
$custom-light: #8569a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2e85",
  "rgb": {
    "r": 79,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 262.759,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39099,
    "c": 0.13912,
    "h": 296.9
  },
  "luminance": 0.0531
}

Semantic roles & 50–950 ramp

primary
#4F2E85
secondary
#91B05F
accent
#D850A4
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4F2E85

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

Preview Lab → · Contrast checker → · Palette generator →

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