#4F3EA2#4F3EA2

#4F3EA2 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.0% C 0.155 H 285.9°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#4F3EA2
RGBrgb(79, 62, 162)
HSLhsl(250, 45%, 44%)
HSVhsv(250, 62%, 64%)
CMYKcmyk(51.2%, 61.7%, 0%, 36.5%)
CIE-LABlab(33.38, 34.20, -51.94)
CIE-LCHlch(33.38, 62.19, 303.36°)
OKLaboklab(44.01% 0.0425 -0.1487)
OKLCHoklch(44.01% 0.155 285.9)
XYZxyz(11.4667, 7.7156, 35.0605)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3EA2 #91A23E
analogous
#3E5FA2 #4F3EA2 #813EA2
triadic
#4F3EA2 #A24F3E #3EA24F
tetradic
#4F3EA2 #A23E5F #91A23E #3EA281
square
#4F3EA2 #A23E5F #91A23E #3EA281
split-complementary
#4F3EA2 #A2813E #5FA23E
monochromatic
#241C49 #392D76 #4F3EA2 #6D5CC1 #9589D2

Accessibility & contrast

On white

8.26
#4F3EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4F3EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3EA2
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3EA2#FFFFFF#000000##FFFFFF
##4F3EA21.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#30566A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4f3ea2;
/* rgb */ color: rgb(79, 62, 162);
/* oklch */ color: oklch(44.0% 0.155 285.9);
Tailwind
colors: {
  custom: {
    50: '#8774be',
    500: '#4f3ea2',
    950: '#000000',
  },
}
SCSS
$custom: #4f3ea2;
$custom-light: #8774be;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3ea2",
  "rgb": {
    "r": 79,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 250.2,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44006,
    "c": 0.15469,
    "h": 285.9
  },
  "luminance": 0.07716
}

Semantic roles & 50–950 ramp

primary
#4F3EA2
secondary
#B2BC80
accent
#D453BE
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4F3EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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