#4F3EA3#4F3EA3

#4F3EA3 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.1% C 0.156 H 285.8°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#4F3EA3
RGBrgb(79, 62, 163)
HSLhsl(250, 45%, 44%)
HSVhsv(250, 62%, 64%)
CMYKcmyk(51.5%, 62%, 0%, 36.1%)
CIE-LABlab(33.46, 34.51, -52.42)
CIE-LCHlch(33.46, 62.76, 303.36°)
OKLaboklab(44.09% 0.0424 -0.1501)
OKLCHoklch(44.09% 0.156 285.8)
XYZxyz(11.5560, 7.7513, 35.5305)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3EA3 #92A33E
analogous
#3E60A3 #4F3EA3 #823EA3
triadic
#4F3EA3 #A34F3E #3EA34F
tetradic
#4F3EA3 #A33E60 #92A33E #3EA382
square
#4F3EA3 #A33E60 #92A33E #3EA382
split-complementary
#4F3EA3 #A3823E #60A33E
monochromatic
#241C4A #3A2D77 #4F3EA3 #6E5DC1 #9589D2

Accessibility & contrast

On white

8.23
#4F3EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4F3EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3EA3
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3EA3#FFFFFF#000000##FFFFFF
##4F3EA31.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A6
Deuteranopia (green-blind)
#004CA1
Tritanopia (blue-blind)
#30566A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f3ea3;
/* rgb */ color: rgb(79, 62, 163);
/* oklch */ color: oklch(44.1% 0.156 285.8);
Tailwind
colors: {
  custom: {
    50: '#8874bf',
    500: '#4f3ea3',
    950: '#000000',
  },
}
SCSS
$custom: #4f3ea3;
$custom-light: #8874bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3ea3",
  "rgb": {
    "r": 79,
    "g": 62,
    "b": 163
  },
  "hsl": {
    "h": 250.099,
    "s": 44.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44085,
    "c": 0.15603,
    "h": 285.8
  },
  "luminance": 0.07752
}

Semantic roles & 50–950 ramp

primary
#4F3EA3
secondary
#B3BD80
accent
#D553BF
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4F3EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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