#4F2272#4F2272

#4F2272 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.133 H 306.6°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#4F2272
RGBrgb(79, 34, 114)
HSLhsl(274, 54%, 29%)
HSVhsv(274, 70%, 45%)
CMYKcmyk(30.7%, 70.2%, 0%, 55.3%)
CIE-LABlab(23.74, 36.60, -37.75)
CIE-LCHlch(23.74, 52.58, 314.12°)
OKLaboklab(35.86% 0.0796 -0.107)
OKLCHoklch(35.86% 0.133 306.6)
XYZxyz(6.8331, 4.0213, 16.3325)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2272 #457222
analogous
#272272 #4F2272 #72226D
triadic
#4F2272 #724F22 #22724F
tetradic
#4F2272 #722722 #457222 #226D72
square
#4F2272 #722722 #457222 #226D72
split-complementary
#4F2272 #6D7222 #227227
monochromatic
#100718 #2E1443 #4F2272 #7030A1 #8F46C8

Accessibility & contrast

On white

11.64
#4F2272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4F2272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2272
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2272#FFFFFF#000000##FFFFFF
##4F22721.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#0D3970
Tritanopia (blue-blind)
#493347
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4f2272;
/* rgb */ color: rgb(79, 34, 114);
/* oklch */ color: oklch(35.9% 0.133 306.6);
Tailwind
colors: {
  custom: {
    50: '#84619b',
    500: '#4f2272',
    950: '#000000',
  },
}
SCSS
$custom: #4f2272;
$custom-light: #84619b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2272",
  "rgb": {
    "r": 79,
    "g": 34,
    "b": 114
  },
  "hsl": {
    "h": 273.75,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35864,
    "c": 0.13331,
    "h": 306.6
  },
  "luminance": 0.04021
}

Semantic roles & 50–950 ramp

primary
#4F2272
secondary
#72A54B
accent
#DD4A8B
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4F2272

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

Preview Lab → · Contrast checker → · Palette generator →

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