#4F2D89#4F2D89

#4F2D89 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.3% C 0.146 H 296.0°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#4F2D89
RGBrgb(79, 45, 137)
HSLhsl(262, 51%, 36%)
HSVhsv(262, 67%, 54%)
CMYKcmyk(42.3%, 67.2%, 0%, 46.3%)
CIE-LABlab(27.70, 36.79, -45.87)
CIE-LCHlch(27.70, 58.80, 308.73°)
OKLaboklab(39.27% 0.0638 -0.1309)
OKLCHoklch(39.27% 0.146 296)
XYZxyz(8.6770, 5.3450, 24.2366)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2D89 #67892D
analogous
#2D3989 #4F2D89 #7D2D89
triadic
#4F2D89 #894F2D #2D894F
tetradic
#4F2D89 #892D39 #67892D #2D897D
square
#4F2D89 #892D39 #67892D #2D897D
split-complementary
#4F2D89 #897D2D #39892D
monochromatic
#1A0F2D #341E5B #4F2D89 #6A3CB7 #8B64CC

Accessibility & contrast

On white

10.15
#4F2D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4F2D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2D89
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2D89#FFFFFF#000000##FFFFFF
##4F2D891.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#004087
Tritanopia (blue-blind)
#404257
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4f2d89;
/* rgb */ color: rgb(79, 45, 137);
/* oklch */ color: oklch(39.3% 0.146 296.0);
Tailwind
colors: {
  custom: {
    50: '#8568ac',
    500: '#4f2d89',
    950: '#000000',
  },
}
SCSS
$custom: #4f2d89;
$custom-light: #8568ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2d89",
  "rgb": {
    "r": 79,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 262.174,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39266,
    "c": 0.1456,
    "h": 296
  },
  "luminance": 0.05345
}

Semantic roles & 50–950 ramp

primary
#4F2D89
secondary
#94B35F
accent
#DA4EA6
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4F2D89

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

Preview Lab → · Contrast checker → · Palette generator →

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