#4F2FE2#4F2FE2

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

Color values

HEX#4F2FE2
RGBrgb(79, 47, 226)
HSLhsl(251, 76%, 54%)
HSVhsv(251, 79%, 89%)
CMYKcmyk(65%, 79.2%, 0%, 11.4%)
CIE-LABlab(36.34, 61.35, -84.62)
CIE-LCHlch(36.34, 104.52, 305.94°)
OKLaboklab(47.87% 0.0415 -0.2443)
OKLCHoklch(47.87% 0.248 279.6)
XYZxyz(17.9641, 9.1848, 72.7629)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2FE2 #C2E22F
analogous
#2F68E2 #4F2FE2 #A82FE2
triadic
#4F2FE2 #E24F2F #2FE24F
tetradic
#4F2FE2 #E22F68 #C2E22F #2FE2A8
square
#4F2FE2 #E22F68 #C2E22F #2FE2A8
split-complementary
#4F2FE2 #E2A82F #68E22F
monochromatic
#271284 #371ABA #4F2FE2 #7C65E9 #AA9AF1

Accessibility & contrast

On white

7.40
#4F2FE2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4F2FE2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2FE2
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2FE2#FFFFFF#000000##FFFFFF
##4F2FE21.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CE7
Deuteranopia (green-blind)
#004EDF
Tritanopia (blue-blind)
#006689
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4f2fe2;
/* rgb */ color: rgb(79, 47, 226);
/* oklch */ color: oklch(47.9% 0.248 279.6);
Tailwind
colors: {
  custom: {
    50: '#936ded',
    500: '#4f2fe2',
    950: '#000000',
  },
}
SCSS
$custom: #4f2fe2;
$custom-light: #936ded;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2fe2",
  "rgb": {
    "r": 79,
    "g": 47,
    "b": 226
  },
  "hsl": {
    "h": 250.726,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.47871,
    "c": 0.24782,
    "h": 279.6
  },
  "luminance": 0.09186
}

Semantic roles & 50–950 ramp

primary
#4F2FE2
secondary
#CFDD90
accent
#F236D0
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #4F2FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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