#4F2573#4F2573

#4F2573 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.4% C 0.130 H 305.6°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#4F2573
RGBrgb(79, 37, 115)
HSLhsl(272, 51%, 30%)
HSVhsv(272, 68%, 45%)
CMYKcmyk(31.3%, 67.8%, 0%, 54.9%)
CIE-LABlab(24.40, 35.26, -37.33)
CIE-LCHlch(24.40, 51.35, 313.37°)
OKLaboklab(36.36% 0.0757 -0.1058)
OKLCHoklch(36.36% 0.13 305.6)
XYZxyz(6.9799, 4.2233, 16.6638)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2573 #497325
analogous
#282573 #4F2573 #732570
triadic
#4F2573 #734F25 #25734F
tetradic
#4F2573 #732825 #497325 #257073
square
#4F2573 #732825 #497325 #257073
split-complementary
#4F2573 #707325 #257328
monochromatic
#100717 #2F1645 #4F2573 #6F34A1 #8E4DC6

Accessibility & contrast

On white

11.38
#4F2573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4F2573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2573
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2573#FFFFFF#000000##FFFFFF
##4F25731.0011.381.8411.38
#FFFFFF11.381.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#113A71
Tritanopia (blue-blind)
#493648
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4f2573;
/* rgb */ color: rgb(79, 37, 115);
/* oklch */ color: oklch(36.4% 0.130 305.6);
Tailwind
colors: {
  custom: {
    50: '#84629c',
    500: '#4f2573',
    950: '#000000',
  },
}
SCSS
$custom: #4f2573;
$custom-light: #84629c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2573",
  "rgb": {
    "r": 79,
    "g": 37,
    "b": 115
  },
  "hsl": {
    "h": 272.308,
    "s": 51.316,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36359,
    "c": 0.13009,
    "h": 305.6
  },
  "luminance": 0.04223
}

Semantic roles & 50–950 ramp

primary
#4F2573
secondary
#77A64E
accent
#DB4D8E
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050E
muted
#7C7A7E

Preview Lab

Preview with #4F2573

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

Preview Lab → · Contrast checker → · Palette generator →

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