#4F2EC3#4F2EC3

#4F2EC3 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.6% C 0.214 H 283.7°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#4F2EC3
RGBrgb(79, 46, 195)
HSLhsl(253, 62%, 47%)
HSVhsv(253, 76%, 76%)
CMYKcmyk(59.5%, 76.4%, 0%, 23.5%)
CIE-LABlab(33.04, 52.99, -72.12)
CIE-LCHlch(33.04, 89.49, 306.31°)
OKLaboklab(44.64% 0.0507 -0.2079)
OKLCHoklch(44.64% 0.214 283.7)
XYZxyz(14.0487, 7.5555, 52.3372)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2EC3 #A2C32E
analogous
#2E57C3 #4F2EC3 #9A2EC3
triadic
#4F2EC3 #C34F2E #2EC34F
tetradic
#4F2EC3 #C32E57 #A2C32E #2EC39A
square
#4F2EC3 #C32E57 #A2C32E #2EC39A
split-complementary
#4F2EC3 #C39A2E #57C32E
monochromatic
#271760 #3B2291 #4F2EC3 #7357D7 #9C88E3

Accessibility & contrast

On white

8.36
#4F2EC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4F2EC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2EC3
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2EC3#FFFFFF#000000##FFFFFF
##4F2EC31.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f2ec3;
/* rgb */ color: rgb(79, 46, 195);
/* oklch */ color: oklch(44.6% 0.214 283.7);
Tailwind
colors: {
  custom: {
    50: '#8e6bd6',
    500: '#4f2ec3',
    950: '#000000',
  },
}
SCSS
$custom: #4f2ec3;
$custom-light: #8e6bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2ec3",
  "rgb": {
    "r": 79,
    "g": 46,
    "b": 195
  },
  "hsl": {
    "h": 253.289,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4464,
    "c": 0.21397,
    "h": 283.7
  },
  "luminance": 0.07556
}

Semantic roles & 50–950 ramp

primary
#4F2EC3
secondary
#BCCD80
accent
#E543C1
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4F2EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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