#4F3091#4F3091

#4F3091 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.4% C 0.152 H 293.1°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#4F3091
RGBrgb(79, 48, 145)
HSLhsl(259, 50%, 38%)
HSVhsv(259, 67%, 57%)
CMYKcmyk(45.5%, 66.9%, 0%, 43.1%)
CIE-LABlab(28.95, 37.38, -48.78)
CIE-LCHlch(28.95, 61.45, 307.46°)
OKLaboklab(40.37% 0.0594 -0.1395)
OKLCHoklch(40.37% 0.152 293.1)
XYZxyz(9.3908, 5.8202, 27.4112)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3091 #729130
analogous
#304291 #4F3091 #7F3091
triadic
#4F3091 #914F30 #30914F
tetradic
#4F3091 #913042 #729130 #30917F
square
#4F3091 #913042 #729130 #30917F
split-complementary
#4F3091 #917F30 #429130
monochromatic
#1D1235 #362163 #4F3091 #683FBF #8C6DCF

Accessibility & contrast

On white

9.70
#4F3091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4F3091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3091
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3091#FFFFFF#000000##FFFFFF
##4F30911.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004594
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#3C475C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4f3091;
/* rgb */ color: rgb(79, 48, 145);
/* oklch */ color: oklch(40.4% 0.152 293.1);
Tailwind
colors: {
  custom: {
    50: '#866ab2',
    500: '#4f3091',
    950: '#000000',
  },
}
SCSS
$custom: #4f3091;
$custom-light: #866ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3091",
  "rgb": {
    "r": 79,
    "g": 48,
    "b": 145
  },
  "hsl": {
    "h": 259.175,
    "s": 50.259,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40372,
    "c": 0.15159,
    "h": 293.1
  },
  "luminance": 0.05821
}

Semantic roles & 50–950 ramp

primary
#4F3091
secondary
#9DB667
accent
#DA4EAD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F3091

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

Preview Lab → · Contrast checker → · Palette generator →

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