#4F249C#4F249C

#4F249C is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.179 H 292.6°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#4F249C
RGBrgb(79, 36, 156)
HSLhsl(262, 63%, 38%)
HSVhsv(262, 77%, 61%)
CMYKcmyk(49.4%, 76.9%, 0%, 38.8%)
CIE-LABlab(27.64, 46.79, -57.67)
CIE-LCHlch(27.64, 74.27, 309.06°)
OKLaboklab(39.73% 0.0688 -0.1655)
OKLCHoklch(39.73% 0.179 292.6)
XYZxyz(9.8544, 5.3240, 31.9545)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F249C #719C24
analogous
#24359C #4F249C #8B249C
triadic
#4F249C #9C4F24 #249C4F
tetradic
#4F249C #9C2435 #719C24 #249C8B
square
#4F249C #9C2435 #719C24 #249C8B
split-complementary
#4F249C #9C8B24 #359C24
monochromatic
#1D0D39 #36196A #4F249C #682FCE #8C60DA

Accessibility & contrast

On white

10.17
#4F249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4F249C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F249C
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F249C#FFFFFF#000000##FFFFFF
##4F249C1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#36455F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4f249c;
/* rgb */ color: rgb(79, 36, 156);
/* oklch */ color: oklch(39.7% 0.179 292.6);
Tailwind
colors: {
  custom: {
    50: '#8864ba',
    500: '#4f249c',
    950: '#000000',
  },
}
SCSS
$custom: #4f249c;
$custom-light: #8864ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4f249c",
  "rgb": {
    "r": 79,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 261.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39728,
    "c": 0.17926,
    "h": 292.6
  },
  "luminance": 0.05324
}

Semantic roles & 50–950 ramp

primary
#4F249C
secondary
#9CBF5C
accent
#E642AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4F249C

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

Preview Lab → · Contrast checker → · Palette generator →

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