#4F299C#4F299C

#4F299C is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.174 H 291.8°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#4F299C
RGBrgb(79, 41, 156)
HSLhsl(260, 58%, 39%)
HSVhsv(260, 74%, 61%)
CMYKcmyk(49.4%, 73.7%, 0%, 38.8%)
CIE-LABlab(28.51, 44.33, -56.25)
CIE-LCHlch(28.51, 71.62, 308.24°)
OKLaboklab(40.34% 0.0645 -0.1614)
OKLCHoklch(40.34% 0.174 291.8)
XYZxyz(10.0164, 5.6481, 32.0085)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F299C #769C29
analogous
#293C9C #4F299C #88299C
triadic
#4F299C #9C4F29 #299C4F
tetradic
#4F299C #9C293C #769C29 #299C88
square
#4F299C #9C293C #769C29 #299C88
split-complementary
#4F299C #9C8829 #3C9C29
monochromatic
#1E103B #361C6C #4F299C #6838CB #8D68D7

Accessibility & contrast

On white

9.86
#4F299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4F299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F299C
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F299C#FFFFFF#000000##FFFFFF
##4F299C1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#364760
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4f299c;
/* rgb */ color: rgb(79, 41, 156);
/* oklch */ color: oklch(40.3% 0.174 291.8);
Tailwind
colors: {
  custom: {
    50: '#8866ba',
    500: '#4f299c',
    950: '#000000',
  },
}
SCSS
$custom: #4f299c;
$custom-light: #8866ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4f299c",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 259.826,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4034,
    "c": 0.17378,
    "h": 291.8
  },
  "luminance": 0.05648
}

Semantic roles & 50–950 ramp

primary
#4F299C
secondary
#A0BE63
accent
#E246AE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4F299C

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

Preview Lab → · Contrast checker → · Palette generator →

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