#4F249A#4F249A

#4F249A is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.177 H 293.1°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#4F249A
RGBrgb(79, 36, 154)
HSLhsl(262, 62%, 37%)
HSVhsv(262, 77%, 60%)
CMYKcmyk(48.7%, 76.6%, 0%, 39.6%)
CIE-LABlab(27.45, 46.25, -56.75)
CIE-LCHlch(27.45, 73.21, 309.18°)
OKLaboklab(39.54% 0.0694 -0.1628)
OKLCHoklch(39.54% 0.177 293.1)
XYZxyz(9.6864, 5.2568, 31.0699)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F249A #6F9A24
analogous
#24349A #4F249A #8A249A
triadic
#4F249A #9A4F24 #249A4F
tetradic
#4F249A #9A2434 #6F9A24 #249A8A
square
#4F249A #9A2434 #6F9A24 #249A8A
split-complementary
#4F249A #9A8A24 #349A24
monochromatic
#1C0D37 #361868 #4F249A #6830CC #8C5FDA

Accessibility & contrast

On white

10.24
#4F249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4F249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F249A
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F249A#FFFFFF#000000##FFFFFF
##4F249A1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#38445E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4f249a;
/* rgb */ color: rgb(79, 36, 154);
/* oklch */ color: oklch(39.5% 0.177 293.1);
Tailwind
colors: {
  custom: {
    50: '#8864b9',
    500: '#4f249a',
    950: '#000000',
  },
}
SCSS
$custom: #4f249a;
$custom-light: #8864b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f249a",
  "rgb": {
    "r": 79,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 261.864,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39543,
    "c": 0.17698,
    "h": 293.1
  },
  "luminance": 0.05257
}

Semantic roles & 50–950 ramp

primary
#4F249A
secondary
#9ABF5B
accent
#E543AA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4F249A

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

Preview Lab → · Contrast checker → · Palette generator →

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