#4F3DA7#4F3DA7

#4F3DA7 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.2% C 0.163 H 285.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#4F3DA7
RGBrgb(79, 61, 167)
HSLhsl(250, 46%, 45%)
HSVhsv(250, 63%, 65%)
CMYKcmyk(52.7%, 63.5%, 0%, 34.5%)
CIE-LABlab(33.54, 36.36, -54.69)
CIE-LCHlch(33.54, 65.68, 303.62°)
OKLaboklab(44.24% 0.0432 -0.1568)
OKLCHoklch(44.24% 0.163 285.4)
XYZxyz(11.8662, 7.7892, 37.4299)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3DA7 #95A73D
analogous
#3D60A7 #4F3DA7 #843DA7
triadic
#4F3DA7 #A74F3D #3DA74F
tetradic
#4F3DA7 #A73D60 #95A73D #3DA784
square
#4F3DA7 #A73D60 #95A73D #3DA784
split-complementary
#4F3DA7 #A7843D #60A73D
monochromatic
#251C4D #3A2D7A #4F3DA7 #6F5DC4 #978AD4

Accessibility & contrast

On white

8.21
#4F3DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4F3DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3DA7
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3DA7#FFFFFF#000000##FFFFFF
##4F3DA71.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AA
Deuteranopia (green-blind)
#004CA5
Tritanopia (blue-blind)
#2C576C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f3da7;
/* rgb */ color: rgb(79, 61, 167);
/* oklch */ color: oklch(44.2% 0.163 285.4);
Tailwind
colors: {
  custom: {
    50: '#8873c2',
    500: '#4f3da7',
    950: '#000000',
  },
}
SCSS
$custom: #4f3da7;
$custom-light: #8873c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3da7",
  "rgb": {
    "r": 79,
    "g": 61,
    "b": 167
  },
  "hsl": {
    "h": 250.189,
    "s": 46.491,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44241,
    "c": 0.16268,
    "h": 285.4
  },
  "luminance": 0.0779
}

Semantic roles & 50–950 ramp

primary
#4F3DA7
secondary
#B4BF81
accent
#D652C0
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4F3DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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