#4F2FE0#4F2FE0

#4F2FE0 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.7% C 0.246 H 279.9°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#4F2FE0
RGBrgb(79, 47, 224)
HSLhsl(251, 74%, 53%)
HSVhsv(251, 79%, 88%)
CMYKcmyk(64.7%, 79%, 0%, 12.2%)
CIE-LABlab(36.13, 60.78, -83.82)
CIE-LCHlch(36.13, 103.54, 305.95°)
OKLaboklab(47.67% 0.0421 -0.242)
OKLCHoklch(47.67% 0.246 279.9)
XYZxyz(17.6912, 9.0757, 71.3261)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2FE0 #C0E02F
analogous
#2F68E0 #4F2FE0 #A72FE0
triadic
#4F2FE0 #E04F2F #2FE04F
tetradic
#4F2FE0 #E02F68 #C0E02F #2FE0A7
square
#4F2FE0 #E02F68 #C0E02F #2FE0A7
split-complementary
#4F2FE0 #E0A72F #68E02F
monochromatic
#271381 #371BB7 #4F2FE0 #7C64E8 #A99AF0

Accessibility & contrast

On white

7.46
#4F2FE0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4F2FE0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2FE0
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2FE0#FFFFFF#000000##FFFFFF
##4F2FE01.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BE5
Deuteranopia (green-blind)
#004EDD
Tritanopia (blue-blind)
#006588
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4f2fe0;
/* rgb */ color: rgb(79, 47, 224);
/* oklch */ color: oklch(47.7% 0.246 279.9);
Tailwind
colors: {
  custom: {
    50: '#936deb',
    500: '#4f2fe0',
    950: '#000000',
  },
}
SCSS
$custom: #4f2fe0;
$custom-light: #936deb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2fe0",
  "rgb": {
    "r": 79,
    "g": 47,
    "b": 224
  },
  "hsl": {
    "h": 250.847,
    "s": 74.059,
    "l": 53.137
  },
  "oklch": {
    "l": 0.47665,
    "c": 0.24562,
    "h": 279.9
  },
  "luminance": 0.09077
}

Semantic roles & 50–950 ramp

primary
#4F2FE0
secondary
#CEDC8F
accent
#F137CF
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #4F2FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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