#4F2994#4F2994

#4F2994 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.6% C 0.164 H 293.8°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#4F2994
RGBrgb(79, 41, 148)
HSLhsl(261, 57%, 37%)
HSVhsv(261, 72%, 58%)
CMYKcmyk(46.6%, 72.3%, 0%, 42%)
CIE-LABlab(27.81, 42.08, -52.49)
CIE-LCHlch(27.81, 67.28, 308.72°)
OKLaboklab(39.63% 0.0662 -0.1504)
OKLCHoklch(39.63% 0.164 293.8)
XYZxyz(9.3612, 5.3860, 28.5576)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2994 #6E9429
analogous
#293994 #4F2994 #852994
triadic
#4F2994 #944F29 #29944F
tetradic
#4F2994 #942939 #6E9429 #299485
square
#4F2994 #942939 #6E9429 #299485
split-complementary
#4F2994 #948529 #399429
monochromatic
#1C0E34 #351C64 #4F2994 #6936C4 #8B63D4

Accessibility & contrast

On white

10.11
#4F2994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F2994
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2994#FFFFFF#000000##FFFFFF
##4F29941.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#004092
Tritanopia (blue-blind)
#3B445B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4f2994;
/* rgb */ color: rgb(79, 41, 148);
/* oklch */ color: oklch(39.6% 0.164 293.8);
Tailwind
colors: {
  custom: {
    50: '#8766b4',
    500: '#4f2994',
    950: '#000000',
  },
}
SCSS
$custom: #4f2994;
$custom-light: #8766b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2994",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 148
  },
  "hsl": {
    "h": 261.308,
    "s": 56.614,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39628,
    "c": 0.1643,
    "h": 293.8
  },
  "luminance": 0.05386
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F2994

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

Preview Lab → · Contrast checker → · Palette generator →

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