#4F2699#4F2699

#4F2699 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.174 H 293.0°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#4F2699
RGBrgb(79, 38, 153)
HSLhsl(261, 60%, 37%)
HSVhsv(261, 75%, 60%)
CMYKcmyk(48.4%, 75.2%, 0%, 40%)
CIE-LABlab(27.70, 45.00, -55.73)
CIE-LCHlch(27.70, 71.63, 308.92°)
OKLaboklab(39.69% 0.0679 -0.1598)
OKLCHoklch(39.69% 0.174 293)
XYZxyz(9.6657, 5.3481, 30.6538)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2699 #709926
analogous
#263799 #4F2699 #882699
triadic
#4F2699 #994F26 #26994F
tetradic
#4F2699 #992637 #709926 #269988
square
#4F2699 #992637 #709926 #269988
split-complementary
#4F2699 #998826 #379926
monochromatic
#1C0E37 #361A68 #4F2699 #6832CA #8C62D8

Accessibility & contrast

On white

10.15
#4F2699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4F2699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2699
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2699#FFFFFF#000000##FFFFFF
##4F26991.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#38455D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4f2699;
/* rgb */ color: rgb(79, 38, 153);
/* oklch */ color: oklch(39.7% 0.174 293.0);
Tailwind
colors: {
  custom: {
    50: '#8865b8',
    500: '#4f2699',
    950: '#000000',
  },
}
SCSS
$custom: #4f2699;
$custom-light: #8865b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2699",
  "rgb": {
    "r": 79,
    "g": 38,
    "b": 153
  },
  "hsl": {
    "h": 261.391,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39691,
    "c": 0.17366,
    "h": 293
  },
  "luminance": 0.05348
}

Semantic roles & 50–950 ramp

primary
#4F2699
secondary
#9BBD5E
accent
#E344AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2699

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

Preview Lab → · Contrast checker → · Palette generator →

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