#4F2DC2#4F2DC2

#4F2DC2 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.4% C 0.214 H 284.0°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#4F2DC2
RGBrgb(79, 45, 194)
HSLhsl(254, 62%, 47%)
HSVhsv(254, 77%, 76%)
CMYKcmyk(59.3%, 76.8%, 0%, 23.9%)
CIE-LABlab(32.77, 53.18, -71.97)
CIE-LCHlch(32.77, 89.49, 306.46°)
OKLaboklab(44.42% 0.0516 -0.2074)
OKLCHoklch(44.42% 0.214 284)
XYZxyz(13.8974, 7.4332, 51.7309)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2DC2 #A0C22D
analogous
#2D56C2 #4F2DC2 #9A2DC2
triadic
#4F2DC2 #C24F2D #2DC24F
tetradic
#4F2DC2 #C22D56 #A0C22D #2DC29A
square
#4F2DC2 #C22D56 #A0C22D #2DC29A
split-complementary
#4F2DC2 #C29A2D #56C22D
monochromatic
#27165F #3B2190 #4F2DC2 #7355D7 #9C86E3

Accessibility & contrast

On white

8.44
#4F2DC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4F2DC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2DC2
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2DC2#FFFFFF#000000##FFFFFF
##4F2DC21.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C6
Deuteranopia (green-blind)
#0048BF
Tritanopia (blue-blind)
#005876
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f2dc2;
/* rgb */ color: rgb(79, 45, 194);
/* oklch */ color: oklch(44.4% 0.214 284.0);
Tailwind
colors: {
  custom: {
    50: '#8e6bd6',
    500: '#4f2dc2',
    950: '#000000',
  },
}
SCSS
$custom: #4f2dc2;
$custom-light: #8e6bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2dc2",
  "rgb": {
    "r": 79,
    "g": 45,
    "b": 194
  },
  "hsl": {
    "h": 253.691,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44424,
    "c": 0.21375,
    "h": 284
  },
  "luminance": 0.07434
}

Semantic roles & 50–950 ramp

primary
#4F2DC2
secondary
#BBCD7E
accent
#E542C0
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #4F2DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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