#4F247D#4F247D

#4F247D is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.0% C 0.143 H 301.9°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#4F247D
RGBrgb(79, 36, 125)
HSLhsl(269, 55%, 32%)
HSVhsv(269, 71%, 49%)
CMYKcmyk(36.8%, 71.2%, 0%, 51%)
CIE-LABlab(24.97, 38.41, -42.77)
CIE-LCHlch(24.97, 57.49, 311.93°)
OKLaboklab(37.01% 0.0757 -0.1218)
OKLCHoklch(37.01% 0.143 301.9)
XYZxyz(7.5561, 4.4047, 19.8502)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F247D #527D24
analogous
#24257D #4F247D #7C247D
triadic
#4F247D #7D4F24 #247D4F
tetradic
#4F247D #7D2425 #527D24 #247D7C
square
#4F247D #7D2425 #527D24 #247D7C
split-complementary
#4F247D #7D7C24 #257D24
monochromatic
#13091E #31164D #4F247D #6D32AD #8C4FCC

Accessibility & contrast

On white

11.16
#4F247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4F247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F247D
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F247D#FFFFFF#000000##FFFFFF
##4F247D1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#003B7B
Tritanopia (blue-blind)
#45394D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4f247d;
/* rgb */ color: rgb(79, 36, 125);
/* oklch */ color: oklch(37.0% 0.143 301.9);
Tailwind
colors: {
  custom: {
    50: '#8562a3',
    500: '#4f247d',
    950: '#000000',
  },
}
SCSS
$custom: #4f247d;
$custom-light: #8562a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f247d",
  "rgb": {
    "r": 79,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 268.989,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37009,
    "c": 0.14339,
    "h": 301.9
  },
  "luminance": 0.04405
}

Semantic roles & 50–950 ramp

primary
#4F247D
secondary
#80AF4D
accent
#DF4996
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #4F247D

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

Preview Lab → · Contrast checker → · Palette generator →

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