#4F2AE3#4F2AE3

#4F2AE3 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.5% C 0.253 H 279.9°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#4F2AE3
RGBrgb(79, 42, 227)
HSLhsl(252, 77%, 53%)
HSVhsv(252, 81%, 89%)
CMYKcmyk(65.2%, 81.5%, 0%, 11%)
CIE-LABlab(35.72, 63.74, -86.21)
CIE-LCHlch(35.72, 107.22, 306.48°)
OKLaboklab(47.47% 0.0434 -0.2489)
OKLCHoklch(47.47% 0.253 279.9)
XYZxyz(17.9131, 8.8628, 73.4249)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2AE3 #BEE32A
analogous
#2A61E3 #4F2AE3 #AB2AE3
triadic
#4F2AE3 #E34F2A #2AE34F
tetradic
#4F2AE3 #E32A61 #BEE32A #2AE3AB
square
#4F2AE3 #E32A61 #BEE32A #2AE3AB
split-complementary
#4F2AE3 #E3AB2A #61E32A
monochromatic
#281182 #3818B8 #4F2AE3 #7C60EA #A896F1

Accessibility & contrast

On white

7.57
#4F2AE3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4F2AE3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2AE3
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2AE3#FFFFFF#000000##FFFFFF
##4F2AE31.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AE8
Deuteranopia (green-blind)
#004DE0
Tritanopia (blue-blind)
#006589
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4f2ae3;
/* rgb */ color: rgb(79, 42, 227);
/* oklch */ color: oklch(47.5% 0.253 279.9);
Tailwind
colors: {
  custom: {
    50: '#946bed',
    500: '#4f2ae3',
    950: '#000000',
  },
}
SCSS
$custom: #4f2ae3;
$custom-light: #946bed;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2ae3",
  "rgb": {
    "r": 79,
    "g": 42,
    "b": 227
  },
  "hsl": {
    "h": 252,
    "s": 76.763,
    "l": 52.745
  },
  "oklch": {
    "l": 0.47474,
    "c": 0.25265,
    "h": 279.9
  },
  "luminance": 0.08864
}

Semantic roles & 50–950 ramp

primary
#4F2AE3
secondary
#CCDC8C
accent
#F334CD
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0717
muted
#7F7A85

Preview Lab

Preview with #4F2AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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