#4F2EE3#4F2EE3

#4F2EE3 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.9% C 0.250 H 279.6°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#4F2EE3
RGBrgb(79, 46, 227)
HSLhsl(251, 76%, 54%)
HSVhsv(251, 80%, 89%)
CMYKcmyk(65.2%, 79.7%, 0%, 11%)
CIE-LABlab(36.29, 62.06, -85.27)
CIE-LCHlch(36.29, 105.46, 306.05°)
OKLaboklab(47.87% 0.0417 -0.2462)
OKLCHoklch(47.87% 0.25 279.6)
XYZxyz(18.0621, 9.1608, 73.4745)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2EE3 #C2E32E
analogous
#2E67E3 #4F2EE3 #A92EE3
triadic
#4F2EE3 #E34F2E #2EE34F
tetradic
#4F2EE3 #E32E67 #C2E32E #2EE3A9
square
#4F2EE3 #E32E67 #C2E32E #2EE3A9
split-complementary
#4F2EE3 #E3A92E #67E32E
monochromatic
#271285 #3719BB #4F2EE3 #7C64EA #AA9AF1

Accessibility & contrast

On white

7.41
#4F2EE3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#4F2EE3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2EE3
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2EE3#FFFFFF#000000##FFFFFF
##4F2EE31.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CE8
Deuteranopia (green-blind)
#004EE0
Tritanopia (blue-blind)
#00668A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4f2ee3;
/* rgb */ color: rgb(79, 46, 227);
/* oklch */ color: oklch(47.9% 0.250 279.6);
Tailwind
colors: {
  custom: {
    50: '#946ded',
    500: '#4f2ee3',
    950: '#000000',
  },
}
SCSS
$custom: #4f2ee3;
$custom-light: #946ded;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2ee3",
  "rgb": {
    "r": 79,
    "g": 46,
    "b": 227
  },
  "hsl": {
    "h": 250.939,
    "s": 76.371,
    "l": 53.529
  },
  "oklch": {
    "l": 0.4787,
    "c": 0.24969,
    "h": 279.6
  },
  "luminance": 0.09162
}

Semantic roles & 50–950 ramp

primary
#4F2EE3
secondary
#CFDD90
accent
#F335D0
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0717
muted
#7F7A85

Preview Lab

Preview with #4F2EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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