#4F2676#4F2676

#4F2676 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.7% C 0.132 H 304.1°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#4F2676
RGBrgb(79, 38, 118)
HSLhsl(271, 51%, 31%)
HSVhsv(271, 68%, 46%)
CMYKcmyk(33.1%, 67.8%, 0%, 53.7%)
CIE-LABlab(24.82, 35.50, -38.57)
CIE-LCHlch(24.82, 52.42, 312.62°)
OKLaboklab(36.73% 0.0742 -0.1094)
OKLCHoklch(36.73% 0.132 304.1)
XYZxyz(7.1868, 4.3565, 17.5983)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2676 #4D7626
analogous
#272676 #4F2676 #762675
triadic
#4F2676 #764F26 #26764F
tetradic
#4F2676 #762726 #4D7626 #267576
square
#4F2676 #762726 #4D7626 #267576
split-complementary
#4F2676 #757626 #267627
monochromatic
#110819 #301748 #4F2676 #6E35A4 #8D50C7

Accessibility & contrast

On white

11.22
#4F2676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4F2676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2676
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2676#FFFFFF#000000##FFFFFF
##4F26761.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#0D3B74
Tritanopia (blue-blind)
#48374A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4f2676;
/* rgb */ color: rgb(79, 38, 118);
/* oklch */ color: oklch(36.7% 0.132 304.1);
Tailwind
colors: {
  custom: {
    50: '#84639e',
    500: '#4f2676',
    950: '#000000',
  },
}
SCSS
$custom: #4f2676;
$custom-light: #84639e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2676",
  "rgb": {
    "r": 79,
    "g": 38,
    "b": 118
  },
  "hsl": {
    "h": 270.75,
    "s": 51.282,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36732,
    "c": 0.1322,
    "h": 304.1
  },
  "luminance": 0.04356
}

Semantic roles & 50–950 ramp

primary
#4F2676
secondary
#7BA84F
accent
#DB4D92
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050E
muted
#7C7A7E

Preview Lab

Preview with #4F2676

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

Preview Lab → · Contrast checker → · Palette generator →

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