#4F2679#4F2679

#4F2679 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.0% C 0.136 H 303.0°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#4F2679
RGBrgb(79, 38, 121)
HSLhsl(270, 52%, 31%)
HSVhsv(270, 69%, 47%)
CMYKcmyk(34.7%, 68.6%, 0%, 52.5%)
CIE-LABlab(25.04, 36.29, -40.12)
CIE-LCHlch(25.04, 54.09, 312.13°)
OKLaboklab(36.96% 0.0739 -0.114)
OKLCHoklch(36.96% 0.136 303)
XYZxyz(7.3680, 4.4290, 18.5522)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2679 #507926
analogous
#262679 #4F2679 #782679
triadic
#4F2679 #794F26 #26794F
tetradic
#4F2679 #792626 #507926 #267978
square
#4F2679 #792626 #507926 #267978
split-complementary
#4F2679 #797826 #267926
monochromatic
#12091C #31174A #4F2679 #6D35A8 #8C51C8

Accessibility & contrast

On white

11.14
#4F2679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4F2679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2679
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2679#FFFFFF#000000##FFFFFF
##4F26791.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7C
Deuteranopia (green-blind)
#063B77
Tritanopia (blue-blind)
#47384C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4f2679;
/* rgb */ color: rgb(79, 38, 121);
/* oklch */ color: oklch(37.0% 0.136 303.0);
Tailwind
colors: {
  custom: {
    50: '#8463a0',
    500: '#4f2679',
    950: '#000000',
  },
}
SCSS
$custom: #4f2679;
$custom-light: #8463a0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2679",
  "rgb": {
    "r": 79,
    "g": 38,
    "b": 121
  },
  "hsl": {
    "h": 269.639,
    "s": 52.201,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36965,
    "c": 0.13583,
    "h": 303
  },
  "luminance": 0.04429
}

Semantic roles & 50–950 ramp

primary
#4F2679
secondary
#7EAB50
accent
#DC4C95
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050F
muted
#7C7A7E

Preview Lab

Preview with #4F2679

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

Preview Lab → · Contrast checker → · Palette generator →

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