#4F2995#4F2995

#4F2995 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.165 H 293.5°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#4F2995
RGBrgb(79, 41, 149)
HSLhsl(261, 57%, 37%)
HSVhsv(261, 72%, 58%)
CMYKcmyk(47%, 72.5%, 0%, 41.6%)
CIE-LABlab(27.89, 42.36, -52.97)
CIE-LCHlch(27.89, 67.82, 308.65°)
OKLaboklab(39.72% 0.066 -0.1517)
OKLCHoklch(39.72% 0.165 293.5)
XYZxyz(9.4407, 5.4178, 28.9763)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2995 #6F9529
analogous
#293995 #4F2995 #852995
triadic
#4F2995 #954F29 #29954F
tetradic
#4F2995 #952939 #6F9529 #299585
square
#4F2995 #952939 #6F9529 #299585
split-complementary
#4F2995 #958529 #399529
monochromatic
#1C0F35 #361C65 #4F2995 #6836C5 #8C64D4

Accessibility & contrast

On white

10.08
#4F2995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4F2995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2995
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2995#FFFFFF#000000##FFFFFF
##4F29951.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#3A455C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4f2995;
/* rgb */ color: rgb(79, 41, 149);
/* oklch */ color: oklch(39.7% 0.165 293.5);
Tailwind
colors: {
  custom: {
    50: '#8766b5',
    500: '#4f2995',
    950: '#000000',
  },
}
SCSS
$custom: #4f2995;
$custom-light: #8766b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2995",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 261.111,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39716,
    "c": 0.16549,
    "h": 293.5
  },
  "luminance": 0.05418
}

Semantic roles & 50–950 ramp

primary
#4F2995
secondary
#9ABA60
accent
#E048AA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2995

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

Preview Lab → · Contrast checker → · Palette generator →

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