#4F3192#4F3192

#4F3192 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.6% C 0.151 H 292.6°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#4F3192
RGBrgb(79, 49, 146)
HSLhsl(259, 50%, 38%)
HSVhsv(259, 66%, 57%)
CMYKcmyk(45.9%, 66.4%, 0%, 42.7%)
CIE-LABlab(29.25, 37.10, -48.92)
CIE-LCHlch(29.25, 61.40, 307.17°)
OKLaboklab(40.61% 0.0582 -0.1399)
OKLCHoklch(40.61% 0.152 292.6)
XYZxyz(9.5096, 5.9339, 27.8329)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3192 #749231
analogous
#314392 #4F3192 #7F3192
triadic
#4F3192 #924F31 #31924F
tetradic
#4F3192 #923143 #749231 #31927F
square
#4F3192 #923143 #749231 #31927F
split-complementary
#4F3192 #927F31 #439231
monochromatic
#1D1236 #362264 #4F3192 #6841BF #8C6FCF

Accessibility & contrast

On white

9.60
#4F3192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4F3192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3192
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3192#FFFFFF#000000##FFFFFF
##4F31921.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004695
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#3B485D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4f3192;
/* rgb */ color: rgb(79, 49, 146);
/* oklch */ color: oklch(40.6% 0.151 292.6);
Tailwind
colors: {
  custom: {
    50: '#866bb3',
    500: '#4f3192',
    950: '#000000',
  },
}
SCSS
$custom: #4f3192;
$custom-light: #866bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3192",
  "rgb": {
    "r": 79,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 258.557,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40606,
    "c": 0.1515,
    "h": 292.6
  },
  "luminance": 0.05934
}

Semantic roles & 50–950 ramp

primary
#4F3192
secondary
#9EB669
accent
#D94FAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4F3192

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

Preview Lab → · Contrast checker → · Palette generator →

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