#4F2C9F#4F2C9F

#4F2C9F is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.0% C 0.174 H 290.6°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#4F2C9F
RGBrgb(79, 44, 159)
HSLhsl(258, 57%, 40%)
HSVhsv(258, 72%, 62%)
CMYKcmyk(50.3%, 72.3%, 0%, 37.6%)
CIE-LABlab(29.33, 43.63, -56.73)
CIE-LCHlch(29.33, 71.57, 307.56°)
OKLaboklab(41% 0.0611 -0.1628)
OKLCHoklch(41% 0.174 290.6)
XYZxyz(10.3814, 5.9664, 33.3988)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2C9F #7C9F2C
analogous
#2C439F #4F2C9F #892C9F
triadic
#4F2C9F #9F4F2C #2C9F4F
tetradic
#4F2C9F #9F2C43 #7C9F2C #2C9F89
square
#4F2C9F #9F2C43 #7C9F2C #2C9F89
split-complementary
#4F2C9F #9F892C #439F2C
monochromatic
#1F113F #371F6F #4F2C9F #693ECA #8E6ED7

Accessibility & contrast

On white

9.57
#4F2C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F2C9F
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2C9F#FFFFFF#000000##FFFFFF
##4F2C9F1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#344A62
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4f2c9f;
/* rgb */ color: rgb(79, 44, 159);
/* oklch */ color: oklch(41.0% 0.174 290.6);
Tailwind
colors: {
  custom: {
    50: '#8868bc',
    500: '#4f2c9f',
    950: '#000000',
  },
}
SCSS
$custom: #4f2c9f;
$custom-light: #8868bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2c9f",
  "rgb": {
    "r": 79,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 258.261,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41003,
    "c": 0.1739,
    "h": 290.6
  },
  "luminance": 0.05967
}

Semantic roles & 50–950 ramp

primary
#4F2C9F
secondary
#A4BE69
accent
#E048B2
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4F2C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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