#4F249D#4F249D

#4F249D is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.180 H 292.3°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#4F249D
RGBrgb(79, 36, 157)
HSLhsl(261, 63%, 38%)
HSVhsv(261, 77%, 62%)
CMYKcmyk(49.7%, 77.1%, 0%, 38.4%)
CIE-LABlab(27.73, 47.07, -58.13)
CIE-LCHlch(27.73, 74.79, 309.00°)
OKLaboklab(39.82% 0.0686 -0.1668)
OKLCHoklch(39.82% 0.18 292.3)
XYZxyz(9.9394, 5.3580, 32.4022)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F249D #729D24
analogous
#24369D #4F249D #8B249D
triadic
#4F249D #9D4F24 #249D4F
tetradic
#4F249D #9D2436 #729D24 #249D8B
square
#4F249D #9D2436 #729D24 #249D8B
split-complementary
#4F249D #9D8B24 #369D24
monochromatic
#1D0D39 #36196B #4F249D #682FCF #8C61DB

Accessibility & contrast

On white

10.14
#4F249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4F249D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F249D
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F249D#FFFFFF#000000##FFFFFF
##4F249D1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#003F9B
Tritanopia (blue-blind)
#36455F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4f249d;
/* rgb */ color: rgb(79, 36, 157);
/* oklch */ color: oklch(39.8% 0.180 292.3);
Tailwind
colors: {
  custom: {
    50: '#8964bb',
    500: '#4f249d',
    950: '#000000',
  },
}
SCSS
$custom: #4f249d;
$custom-light: #8964bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f249d",
  "rgb": {
    "r": 79,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 261.322,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39822,
    "c": 0.18039,
    "h": 292.3
  },
  "luminance": 0.05358
}

Semantic roles & 50–950 ramp

primary
#4F249D
secondary
#9DC05D
accent
#E642AC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4F249D

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

Preview Lab → · Contrast checker → · Palette generator →

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