#4F249F#4F249F

#4F249F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.183 H 291.9°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#4F249F
RGBrgb(79, 36, 159)
HSLhsl(261, 63%, 38%)
HSVhsv(261, 77%, 62%)
CMYKcmyk(50.3%, 77.4%, 0%, 37.6%)
CIE-LABlab(27.92, 47.62, -59.04)
CIE-LCHlch(27.92, 75.85, 308.89°)
OKLaboklab(40.01% 0.068 -0.1695)
OKLCHoklch(40.01% 0.183 291.9)
XYZxyz(10.1116, 5.4268, 33.3089)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F249F #749F24
analogous
#24369F #4F249F #8C249F
triadic
#4F249F #9F4F24 #249F4F
tetradic
#4F249F #9F2436 #749F24 #249F8C
square
#4F249F #9F2436 #749F24 #249F8C
split-complementary
#4F249F #9F8C24 #369F24
monochromatic
#1D0D3B #36196D #4F249F #6830D0 #8C62DB

Accessibility & contrast

On white

10.07
#4F249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4F249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F249F
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F249F#FFFFFF#000000##FFFFFF
##4F249F1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#344660
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4f249f;
/* rgb */ color: rgb(79, 36, 159);
/* oklch */ color: oklch(40.0% 0.183 291.9);
Tailwind
colors: {
  custom: {
    50: '#8964bc',
    500: '#4f249f',
    950: '#000000',
  },
}
SCSS
$custom: #4f249f;
$custom-light: #8964bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f249f",
  "rgb": {
    "r": 79,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 260.976,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40009,
    "c": 0.18266,
    "h": 291.9
  },
  "luminance": 0.05427
}

Semantic roles & 50–950 ramp

primary
#4F249F
secondary
#9EC15E
accent
#E642AD
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4F249F

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

Preview Lab → · Contrast checker → · Palette generator →

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