#4F2DC3#4F2DC3

#4F2DC3 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.5% C 0.215 H 283.8°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#4F2DC3
RGBrgb(79, 45, 195)
HSLhsl(254, 63%, 47%)
HSVhsv(254, 77%, 76%)
CMYKcmyk(59.5%, 76.9%, 0%, 23.5%)
CIE-LABlab(32.87, 53.47, -72.39)
CIE-LCHlch(32.87, 90.00, 306.45°)
OKLaboklab(44.52% 0.0514 -0.2087)
OKLCHoklch(44.52% 0.215 283.8)
XYZxyz(14.0101, 7.4782, 52.3244)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2DC3 #A1C32D
analogous
#2D56C3 #4F2DC3 #9A2DC3
triadic
#4F2DC3 #C34F2D #2DC34F
tetradic
#4F2DC3 #C32D56 #A1C32D #2DC39A
square
#4F2DC3 #C32D56 #A1C32D #2DC39A
split-complementary
#4F2DC3 #C39A2D #56C32D
monochromatic
#271660 #3B2291 #4F2DC3 #7355D8 #9C87E3

Accessibility & contrast

On white

8.41
#4F2DC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4F2DC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2DC3
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2DC3#FFFFFF#000000##FFFFFF
##4F2DC31.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C7
Deuteranopia (green-blind)
#0048C0
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f2dc3;
/* rgb */ color: rgb(79, 45, 195);
/* oklch */ color: oklch(44.5% 0.215 283.8);
Tailwind
colors: {
  custom: {
    50: '#8e6bd6',
    500: '#4f2dc3',
    950: '#000000',
  },
}
SCSS
$custom: #4f2dc3;
$custom-light: #8e6bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2dc3",
  "rgb": {
    "r": 79,
    "g": 45,
    "b": 195
  },
  "hsl": {
    "h": 253.6,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44523,
    "c": 0.2149,
    "h": 283.8
  },
  "luminance": 0.07479
}

Semantic roles & 50–950 ramp

primary
#4F2DC3
secondary
#BBCD7F
accent
#E642C1
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4F2DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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