#4F2CD5#4F2CD5

#4F2CD5 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.2% C 0.236 H 281.4°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#4F2CD5
RGBrgb(79, 44, 213)
HSLhsl(252, 67%, 50%)
HSVhsv(252, 79%, 84%)
CMYKcmyk(62.9%, 79.3%, 0%, 16.5%)
CIE-LABlab(34.53, 59.02, -80.13)
CIE-LCHlch(34.53, 99.52, 306.37°)
OKLaboklab(46.22% 0.0468 -0.2312)
OKLCHoklch(46.22% 0.236 281.4)
XYZxyz(16.1316, 8.2665, 63.6834)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2CD5 #B2D52C
analogous
#2C5DD5 #4F2CD5 #A32CD5
triadic
#4F2CD5 #D54F2C #2CD54F
tetradic
#4F2CD5 #D52C5D #B2D52C #2CD5A3
square
#4F2CD5 #D52C5D #B2D52C #2CD5A3
split-complementary
#4F2CD5 #D5A32C #5DD52C
monochromatic
#291670 #3C21A3 #4F2CD5 #7A5FDF #A492E9

Accessibility & contrast

On white

7.91
#4F2CD5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4F2CD5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2CD5
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2CD5#FFFFFF#000000##FFFFFF
##4F2CD51.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057DA
Deuteranopia (green-blind)
#004BD2
Tritanopia (blue-blind)
#005F81
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4f2cd5;
/* rgb */ color: rgb(79, 44, 213);
/* oklch */ color: oklch(46.2% 0.236 281.4);
Tailwind
colors: {
  custom: {
    50: '#916be3',
    500: '#4f2cd5',
    950: '#000000',
  },
}
SCSS
$custom: #4f2cd5;
$custom-light: #916be3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2cd5",
  "rgb": {
    "r": 79,
    "g": 44,
    "b": 213
  },
  "hsl": {
    "h": 252.426,
    "s": 66.798,
    "l": 50.392
  },
  "oklch": {
    "l": 0.4622,
    "c": 0.23591,
    "h": 281.4
  },
  "luminance": 0.08268
}

Semantic roles & 50–950 ramp

primary
#4F2CD5
secondary
#C4D489
accent
#EA3EC6
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #4F2CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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