#4F2D93#4F2D93

#4F2D93 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.1% C 0.158 H 293.2°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#4F2D93
RGBrgb(79, 45, 147)
HSLhsl(260, 53%, 38%)
HSVhsv(260, 69%, 58%)
CMYKcmyk(46.3%, 69.4%, 0%, 42.4%)
CIE-LABlab(28.50, 39.65, -50.75)
CIE-LCHlch(28.50, 64.40, 308.00°)
OKLaboklab(40.1% 0.0624 -0.1452)
OKLCHoklch(40.1% 0.158 293.2)
XYZxyz(9.4279, 5.6453, 28.1910)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2D93 #71932D
analogous
#2D3E93 #4F2D93 #822D93
triadic
#4F2D93 #934F2D #2D934F
tetradic
#4F2D93 #932D3E #71932D #2D9382
square
#4F2D93 #932D3E #71932D #2D9382
split-complementary
#4F2D93 #93822D #3E932D
monochromatic
#1D1035 #361F64 #4F2D93 #683BC2 #8C69D1

Accessibility & contrast

On white

9.86
#4F2D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4F2D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2D93
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2D93#FFFFFF#000000##FFFFFF
##4F2D931.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004496
Deuteranopia (green-blind)
#004191
Tritanopia (blue-blind)
#3B465C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4f2d93;
/* rgb */ color: rgb(79, 45, 147);
/* oklch */ color: oklch(40.1% 0.158 293.2);
Tailwind
colors: {
  custom: {
    50: '#8768b3',
    500: '#4f2d93',
    950: '#000000',
  },
}
SCSS
$custom: #4f2d93;
$custom-light: #8768b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2d93",
  "rgb": {
    "r": 79,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 260,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40095,
    "c": 0.15806,
    "h": 293.2
  },
  "luminance": 0.05646
}

Semantic roles & 50–950 ramp

primary
#4F2D93
secondary
#9CB864
accent
#DD4BAC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2D93

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

Preview Lab → · Contrast checker → · Palette generator →

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