#4F2E72#4F2E72

#4F2E72 is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.7% C 0.115 H 303.8°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#4F2E72
RGBrgb(79, 46, 114)
HSLhsl(269, 43%, 31%)
HSVhsv(269, 60%, 45%)
CMYKcmyk(30.7%, 59.6%, 0%, 55.3%)
CIE-LABlab(26.25, 29.83, -33.72)
CIE-LCHlch(26.25, 45.02, 311.50°)
OKLaboklab(37.68% 0.0637 -0.0952)
OKLCHoklch(37.68% 0.115 303.8)
XYZxyz(7.2380, 4.8312, 16.4675)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2E72 #51722E
analogous
#2E2F72 #4F2E72 #712E72
triadic
#4F2E72 #724F2E #2E724F
tetradic
#4F2E72 #722E2F #51722E #2E7271
square
#4F2E72 #722E2F #51722E #2E7271
split-complementary
#4F2E72 #72712E #2F722E
monochromatic
#130B1B #311C46 #4F2E72 #6D409E #8C5DBE

Accessibility & contrast

On white

10.68
#4F2E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4F2E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2E72
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2E72#FFFFFF#000000##FFFFFF
##4F2E721.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123D74
Deuteranopia (green-blind)
#1F3E70
Tritanopia (blue-blind)
#493B4B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4f2e72;
/* rgb */ color: rgb(79, 46, 114);
/* oklch */ color: oklch(37.7% 0.115 303.8);
Tailwind
colors: {
  custom: {
    50: '#83689b',
    500: '#4f2e72',
    950: '#000000',
  },
}
SCSS
$custom: #4f2e72;
$custom-light: #83689b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2e72",
  "rgb": {
    "r": 79,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 269.118,
    "s": 42.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37683,
    "c": 0.11454,
    "h": 303.8
  },
  "luminance": 0.04831
}

Semantic roles & 50–950 ramp

primary
#4F2E72
secondary
#7FA358
accent
#D25696
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4F2E72

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

Preview Lab → · Contrast checker → · Palette generator →

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