#4F2DCA#4F2DCA

#4F2DCA is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.2% C 0.223 H 282.8°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#4F2DCA
RGBrgb(79, 45, 202)
HSLhsl(253, 64%, 48%)
HSVhsv(253, 78%, 79%)
CMYKcmyk(60.9%, 77.7%, 0%, 20.8%)
CIE-LABlab(33.57, 55.46, -75.34)
CIE-LCHlch(33.57, 93.55, 306.36°)
OKLaboklab(45.22% 0.0494 -0.2173)
OKLCHoklch(45.22% 0.223 282.8)
XYZxyz(14.8202, 7.8023, 56.5907)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2DCA #A8CA2D
analogous
#2D59CA #4F2DCA #9D2DCA
triadic
#4F2DCA #CA4F2D #2DCA4F
tetradic
#4F2DCA #CA2D59 #A8CA2D #2DCA9D
square
#4F2DCA #CA2D59 #A8CA2D #2DCA9D
split-complementary
#4F2DCA #CA9D2D #59CA2D
monochromatic
#281766 #3B2298 #4F2DCA #765ADA #9F8CE5

Accessibility & contrast

On white

8.20
#4F2DCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4F2DCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2DCA
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2DCA#FFFFFF#000000##FFFFFF
##4F2DCA1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CE
Deuteranopia (green-blind)
#004AC7
Tritanopia (blue-blind)
#005B7B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f2dca;
/* rgb */ color: rgb(79, 45, 202);
/* oklch */ color: oklch(45.2% 0.223 282.8);
Tailwind
colors: {
  custom: {
    50: '#8f6bdb',
    500: '#4f2dca',
    950: '#000000',
  },
}
SCSS
$custom: #4f2dca;
$custom-light: #8f6bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2dca",
  "rgb": {
    "r": 79,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 252.994,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45217,
    "c": 0.22282,
    "h": 282.8
  },
  "luminance": 0.07803
}

Semantic roles & 50–950 ramp

primary
#4F2DCA
secondary
#BFCF83
accent
#E741C3
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4F2DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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