#4F279C#4F279C

#4F279C is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.176 H 292.1°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#4F279C
RGBrgb(79, 39, 156)
HSLhsl(261, 60%, 38%)
HSVhsv(261, 75%, 61%)
CMYKcmyk(49.4%, 75%, 0%, 38.8%)
CIE-LABlab(28.15, 45.34, -56.83)
CIE-LCHlch(28.15, 72.70, 308.58°)
OKLaboklab(40.09% 0.0663 -0.1631)
OKLCHoklch(40.09% 0.176 292.1)
XYZxyz(9.9490, 5.5132, 31.9860)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F279C #749C27
analogous
#27399C #4F279C #89279C
triadic
#4F279C #9C4F27 #279C4F
tetradic
#4F279C #9C2739 #749C27 #279C89
square
#4F279C #9C2739 #749C27 #279C89
split-complementary
#4F279C #9C8927 #399C27
monochromatic
#1D0F3A #361B6B #4F279C #6834CC #8C65D8

Accessibility & contrast

On white

9.99
#4F279C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4F279C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F279C
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F279C#FFFFFF#000000##FFFFFF
##4F279C1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#36465F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4f279c;
/* rgb */ color: rgb(79, 39, 156);
/* oklch */ color: oklch(40.1% 0.176 292.1);
Tailwind
colors: {
  custom: {
    50: '#8865ba',
    500: '#4f279c',
    950: '#000000',
  },
}
SCSS
$custom: #4f279c;
$custom-light: #8865ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4f279c",
  "rgb": {
    "r": 79,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 260.513,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40088,
    "c": 0.17603,
    "h": 292.1
  },
  "luminance": 0.05514
}

Semantic roles & 50–950 ramp

primary
#4F279C
secondary
#9EBE61
accent
#E345AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4F279C

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

Preview Lab → · Contrast checker → · Palette generator →

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