#4F3BAD#4F3BAD

#4F3BAD is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.4% C 0.173 H 284.9°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#4F3BAD
RGBrgb(79, 59, 173)
HSLhsl(251, 49%, 45%)
HSVhsv(251, 66%, 68%)
CMYKcmyk(54.3%, 65.9%, 0%, 32.2%)
CIE-LABlab(33.58, 39.41, -58.22)
CIE-LCHlch(33.58, 70.30, 304.10°)
OKLaboklab(44.42% 0.0446 -0.1672)
OKLCHoklch(44.42% 0.173 284.9)
XYZxyz(12.3290, 7.8066, 40.3842)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3BAD #99AD3B
analogous
#3B60AD #4F3BAD #883BAD
triadic
#4F3BAD #AD4F3B #3BAD4F
tetradic
#4F3BAD #AD3B60 #99AD3B #3BAD88
square
#4F3BAD #AD3B60 #99AD3B #3BAD88
split-complementary
#4F3BAD #AD883B #60AD3B
monochromatic
#251C52 #3A2B7F #4F3BAD #705DC8 #988BD7

Accessibility & contrast

On white

8.20
#4F3BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F3BAD
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3BAD#FFFFFF#000000##FFFFFF
##4F3BAD1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B1
Deuteranopia (green-blind)
#004BAB
Tritanopia (blue-blind)
#27576F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f3bad;
/* rgb */ color: rgb(79, 59, 173);
/* oklch */ color: oklch(44.4% 0.173 284.9);
Tailwind
colors: {
  custom: {
    50: '#8972c6',
    500: '#4f3bad',
    950: '#000000',
  },
}
SCSS
$custom: #4f3bad;
$custom-light: #8972c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3bad",
  "rgb": {
    "r": 79,
    "g": 59,
    "b": 173
  },
  "hsl": {
    "h": 250.526,
    "s": 49.138,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44418,
    "c": 0.17305,
    "h": 284.9
  },
  "luminance": 0.07807
}

Semantic roles & 50–950 ramp

primary
#4F3BAD
secondary
#B7C282
accent
#D94FC1
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4F3BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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