#4F2D92#4F2D92

#4F2D92 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.157 H 293.5°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#4F2D92
RGBrgb(79, 45, 146)
HSLhsl(260, 53%, 37%)
HSVhsv(260, 69%, 57%)
CMYKcmyk(45.9%, 69.2%, 0%, 42.7%)
CIE-LABlab(28.42, 39.36, -50.27)
CIE-LCHlch(28.42, 63.84, 308.06°)
OKLaboklab(40.01% 0.0625 -0.1438)
OKLCHoklch(40.01% 0.157 293.5)
XYZxyz(9.3497, 5.6141, 27.7796)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2D92 #70922D
analogous
#2D3D92 #4F2D92 #822D92
triadic
#4F2D92 #924F2D #2D924F
tetradic
#4F2D92 #922D3D #70922D #2D9282
square
#4F2D92 #922D3D #70922D #2D9282
split-complementary
#4F2D92 #92822D #3D922D
monochromatic
#1C1034 #361F63 #4F2D92 #683BC1 #8C69D1

Accessibility & contrast

On white

9.89
#4F2D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4F2D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2D92
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2D92#FFFFFF#000000##FFFFFF
##4F2D921.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#004190
Tritanopia (blue-blind)
#3C465C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4f2d92;
/* rgb */ color: rgb(79, 45, 146);
/* oklch */ color: oklch(40.0% 0.157 293.5);
Tailwind
colors: {
  custom: {
    50: '#8668b3',
    500: '#4f2d92',
    950: '#000000',
  },
}
SCSS
$custom: #4f2d92;
$custom-light: #8668b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2d92",
  "rgb": {
    "r": 79,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 260.198,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40011,
    "c": 0.15683,
    "h": 293.5
  },
  "luminance": 0.05614
}

Semantic roles & 50–950 ramp

primary
#4F2D92
secondary
#9BB763
accent
#DC4CAC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2D92

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

Preview Lab → · Contrast checker → · Palette generator →

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