#4F2DE2#4F2DE2

#4F2DE2 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.7% C 0.249 H 279.8°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#4F2DE2
RGBrgb(79, 45, 226)
HSLhsl(251, 76%, 53%)
HSVhsv(251, 80%, 89%)
CMYKcmyk(65%, 80.1%, 0%, 11.4%)
CIE-LABlab(36.04, 62.22, -85.11)
CIE-LCHlch(36.04, 105.43, 306.17°)
OKLaboklab(47.66% 0.0424 -0.2457)
OKLCHoklch(47.66% 0.249 279.8)
XYZxyz(17.8859, 9.0286, 72.7369)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2DE2 #C0E22D
analogous
#2D65E2 #4F2DE2 #AA2DE2
triadic
#4F2DE2 #E24F2D #2DE24F
tetradic
#4F2DE2 #E22D65 #C0E22D #2DE2AA
square
#4F2DE2 #E22D65 #C0E22D #2DE2AA
split-complementary
#4F2DE2 #E2AA2D #65E22D
monochromatic
#271283 #3719B8 #4F2DE2 #7C63E9 #A999F1

Accessibility & contrast

On white

7.48
#4F2DE2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#4F2DE2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2DE2
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2DE2#FFFFFF#000000##FFFFFF
##4F2DE21.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f2de2;
/* rgb */ color: rgb(79, 45, 226);
/* oklch */ color: oklch(47.7% 0.249 279.8);
Tailwind
colors: {
  custom: {
    50: '#946ced',
    500: '#4f2de2',
    950: '#000000',
  },
}
SCSS
$custom: #4f2de2;
$custom-light: #946ced;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2de2",
  "rgb": {
    "r": 79,
    "g": 45,
    "b": 226
  },
  "hsl": {
    "h": 251.271,
    "s": 75.732,
    "l": 53.137
  },
  "oklch": {
    "l": 0.47664,
    "c": 0.24936,
    "h": 279.8
  },
  "luminance": 0.0903
}

Semantic roles & 50–950 ramp

primary
#4F2DE2
secondary
#CEDC8E
accent
#F235CF
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #4F2DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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