#4F2D95#4F2D95

#4F2D95 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.3% C 0.161 H 292.7°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#4F2D95
RGBrgb(79, 45, 149)
HSLhsl(260, 54%, 38%)
HSVhsv(260, 70%, 58%)
CMYKcmyk(47%, 69.8%, 0%, 41.6%)
CIE-LABlab(28.67, 40.22, -51.71)
CIE-LCHlch(28.67, 65.51, 307.88°)
OKLaboklab(40.27% 0.062 -0.1481)
OKLCHoklch(40.27% 0.161 292.7)
XYZxyz(9.5862, 5.7087, 29.0247)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2D95 #73952D
analogous
#2D3F95 #4F2D95 #832D95
triadic
#4F2D95 #954F2D #2D954F
tetradic
#4F2D95 #952D3F #73952D #2D9583
square
#4F2D95 #952D3F #73952D #2D9583
split-complementary
#4F2D95 #95832D #3F952D
monochromatic
#1D1137 #361F66 #4F2D95 #683BC4 #8C6AD2

Accessibility & contrast

On white

9.80
#4F2D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4F2D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2D95
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2D95#FFFFFF#000000##FFFFFF
##4F2D951.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#004293
Tritanopia (blue-blind)
#3A475D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4f2d95;
/* rgb */ color: rgb(79, 45, 149);
/* oklch */ color: oklch(40.3% 0.161 292.7);
Tailwind
colors: {
  custom: {
    50: '#8769b5',
    500: '#4f2d95',
    950: '#000000',
  },
}
SCSS
$custom: #4f2d95;
$custom-light: #8769b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2d95",
  "rgb": {
    "r": 79,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 259.615,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40266,
    "c": 0.16053,
    "h": 292.7
  },
  "luminance": 0.05709
}

Semantic roles & 50–950 ramp

primary
#4F2D95
secondary
#9DB965
accent
#DD4BAD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2D95

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

Preview Lab → · Contrast checker → · Palette generator →

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