#4F2D86#4F2D86

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

Color values

HEX#4F2D86
RGBrgb(79, 45, 134)
HSLhsl(263, 50%, 35%)
HSVhsv(263, 66%, 53%)
CMYKcmyk(41%, 66.4%, 0%, 47.5%)
CIE-LABlab(27.46, 35.94, -44.38)
CIE-LCHlch(27.46, 57.11, 309.01°)
OKLaboklab(39.03% 0.0641 -0.1265)
OKLCHoklch(39.03% 0.142 296.9)
XYZxyz(8.4648, 5.2601, 23.1190)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2D86 #64862D
analogous
#2D3886 #4F2D86 #7B2D86
triadic
#4F2D86 #864F2D #2D864F
tetradic
#4F2D86 #862D38 #64862D #2D867B
square
#4F2D86 #862D38 #64862D #2D867B
split-complementary
#4F2D86 #867B2D #38862D
monochromatic
#190E2A #341E58 #4F2D86 #6A3CB4 #8A63CB

Accessibility & contrast

On white

10.23
#4F2D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4F2D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2D86
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2D86#FFFFFF#000000##FFFFFF
##4F2D861.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#004084
Tritanopia (blue-blind)
#414155
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4f2d86;
/* rgb */ color: rgb(79, 45, 134);
/* oklch */ color: oklch(39.0% 0.142 296.9);
Tailwind
colors: {
  custom: {
    50: '#8568aa',
    500: '#4f2d86',
    950: '#000000',
  },
}
SCSS
$custom: #4f2d86;
$custom-light: #8568aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2d86",
  "rgb": {
    "r": 79,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 262.921,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39025,
    "c": 0.14183,
    "h": 296.9
  },
  "luminance": 0.0526
}

Semantic roles & 50–950 ramp

primary
#4F2D86
secondary
#91B15E
accent
#D94FA4
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4F2D86

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

Preview Lab → · Contrast checker → · Palette generator →

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