#4F2ECA#4F2ECA

#4F2ECA is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.3% C 0.222 H 282.7°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#4F2ECA
RGBrgb(79, 46, 202)
HSLhsl(253, 63%, 49%)
HSVhsv(253, 77%, 79%)
CMYKcmyk(60.9%, 77.2%, 0%, 20.8%)
CIE-LABlab(33.73, 54.99, -75.07)
CIE-LCHlch(33.73, 93.06, 306.23°)
OKLaboklab(45.33% 0.0488 -0.2165)
OKLCHoklch(45.33% 0.222 282.7)
XYZxyz(14.8588, 7.8795, 56.6036)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2ECA #A9CA2E
analogous
#2E5BCA #4F2ECA #9D2ECA
triadic
#4F2ECA #CA4F2E #2ECA4F
tetradic
#4F2ECA #CA2E5B #A9CA2E #2ECA9D
square
#4F2ECA #CA2E5B #A9CA2E #2ECA9D
split-complementary
#4F2ECA #CA9D2E #5BCA2E
monochromatic
#281766 #3C2398 #4F2ECA #765BDA #A08DE5

Accessibility & contrast

On white

8.15
#4F2ECA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4F2ECA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2ECA
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2ECA#FFFFFF#000000##FFFFFF
##4F2ECA1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f2eca;
/* rgb */ color: rgb(79, 46, 202);
/* oklch */ color: oklch(45.3% 0.222 282.7);
Tailwind
colors: {
  custom: {
    50: '#8f6cdb',
    500: '#4f2eca',
    950: '#000000',
  },
}
SCSS
$custom: #4f2eca;
$custom-light: #8f6cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2eca",
  "rgb": {
    "r": 79,
    "g": 46,
    "b": 202
  },
  "hsl": {
    "h": 252.692,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.4533,
    "c": 0.22192,
    "h": 282.7
  },
  "luminance": 0.07881
}

Semantic roles & 50–950 ramp

primary
#4F2ECA
secondary
#C0CF84
accent
#E642C3
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4F2ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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