#4F248F#4F248F

#4F248F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.164 H 296.0°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#4F248F
RGBrgb(79, 36, 143)
HSLhsl(264, 60%, 35%)
HSVhsv(264, 75%, 56%)
CMYKcmyk(44.8%, 74.8%, 0%, 43.9%)
CIE-LABlab(26.47, 43.25, -51.59)
CIE-LCHlch(26.47, 67.32, 309.97°)
OKLaboklab(38.55% 0.0722 -0.1477)
OKLCHoklch(38.55% 0.164 296)
XYZxyz(8.8119, 4.9070, 26.4641)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F248F #648F24
analogous
#242E8F #4F248F #84248F
triadic
#4F248F #8F4F24 #248F4F
tetradic
#4F248F #8F242E #648F24 #248F84
square
#4F248F #8F242E #648F24 #248F84
split-complementary
#4F248F #8F8424 #2E8F24
monochromatic
#190B2D #34185E #4F248F #6A30C0 #8A58D5

Accessibility & contrast

On white

10.60
#4F248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4F248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F248F
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F248F#FFFFFF#000000##FFFFFF
##4F248F1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#3E4057
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4f248f;
/* rgb */ color: rgb(79, 36, 143);
/* oklch */ color: oklch(38.5% 0.164 296.0);
Tailwind
colors: {
  custom: {
    50: '#8763b1',
    500: '#4f248f',
    950: '#000000',
  },
}
SCSS
$custom: #4f248f;
$custom-light: #8763b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f248f",
  "rgb": {
    "r": 79,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 264.112,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38545,
    "c": 0.16438,
    "h": 296
  },
  "luminance": 0.04907
}

Semantic roles & 50–950 ramp

primary
#4F248F
secondary
#91B955
accent
#E345A3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4F248F

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

Preview Lab → · Contrast checker → · Palette generator →

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