#4F3CAA#4F3CAA

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

Color values

HEX#4F3CAA
RGBrgb(79, 60, 170)
HSLhsl(250, 48%, 45%)
HSVhsv(250, 65%, 67%)
CMYKcmyk(53.5%, 64.7%, 0%, 33.3%)
CIE-LABlab(33.55, 37.89, -56.47)
CIE-LCHlch(33.55, 68.00, 303.86°)
OKLaboklab(44.33% 0.0439 -0.162)
OKLCHoklch(44.33% 0.168 285.2)
XYZxyz(12.0938, 7.7956, 38.8899)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3CAA #97AA3C
analogous
#3C60AA #4F3CAA #863CAA
triadic
#4F3CAA #AA4F3C #3CAA4F
tetradic
#4F3CAA #AA3C60 #97AA3C #3CAA86
square
#4F3CAA #AA3C60 #97AA3C #3CAA86
split-complementary
#4F3CAA #AA863C #60AA3C
monochromatic
#251C50 #3A2C7D #4F3CAA #6F5DC6 #988BD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F3CAA#FFFFFF#000000##FFFFFF
##4F3CAA1.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)
#0052AD
Deuteranopia (green-blind)
#004CA8
Tritanopia (blue-blind)
#2A576D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f3caa;
/* rgb */ color: rgb(79, 60, 170);
/* oklch */ color: oklch(44.3% 0.168 285.2);
Tailwind
colors: {
  custom: {
    50: '#8973c4',
    500: '#4f3caa',
    950: '#000000',
  },
}
SCSS
$custom: #4f3caa;
$custom-light: #8973c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3caa",
  "rgb": {
    "r": 79,
    "g": 60,
    "b": 170
  },
  "hsl": {
    "h": 250.364,
    "s": 47.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44326,
    "c": 0.1679,
    "h": 285.2
  },
  "luminance": 0.07796
}

Semantic roles & 50–950 ramp

primary
#4F3CAA
secondary
#B6C081
accent
#D750C0
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4F3CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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