#4F2F76#4F2F76

#4F2F76 is a dark, moderate violet. Relative luminance 0.050; OKLCH L 38.1% C 0.118 H 301.9°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#4F2F76
RGBrgb(79, 47, 118)
HSLhsl(267, 43%, 32%)
HSVhsv(267, 60%, 46%)
CMYKcmyk(33.1%, 60.2%, 0%, 53.7%)
CIE-LABlab(26.74, 30.31, -35.47)
CIE-LCHlch(26.74, 46.66, 310.52°)
OKLaboklab(38.13% 0.0624 -0.1003)
OKLCHoklch(38.13% 0.118 301.9)
XYZxyz(7.5102, 5.0033, 17.7061)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2F76 #56762F
analogous
#2F3376 #4F2F76 #722F76
triadic
#4F2F76 #764F2F #2F764F
tetradic
#4F2F76 #762F33 #56762F #2F7672
square
#4F2F76 #762F33 #56762F #2F7672
split-complementary
#4F2F76 #76722F #33762F
monochromatic
#140C1E #321E4A #4F2F76 #6C40A2 #8B60C0

Accessibility & contrast

On white

10.50
#4F2F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4F2F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2F76
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2F76#FFFFFF#000000##FFFFFF
##4F2F761.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3F78
Deuteranopia (green-blind)
#1C3F74
Tritanopia (blue-blind)
#473D4D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4f2f76;
/* rgb */ color: rgb(79, 47, 118);
/* oklch */ color: oklch(38.1% 0.118 301.9);
Tailwind
colors: {
  custom: {
    50: '#83699e',
    500: '#4f2f76',
    950: '#000000',
  },
}
SCSS
$custom: #4f2f76;
$custom-light: #83699e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2f76",
  "rgb": {
    "r": 79,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 267.042,
    "s": 43.03,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38133,
    "c": 0.11813,
    "h": 301.9
  },
  "luminance": 0.05003
}

Semantic roles & 50–950 ramp

primary
#4F2F76
secondary
#84A75A
accent
#D3559A
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4F2F76

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

Preview Lab → · Contrast checker → · Palette generator →

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