#4F299D#4F299D

#4F299D is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.175 H 291.6°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#4F299D
RGBrgb(79, 41, 157)
HSLhsl(260, 59%, 39%)
HSVhsv(260, 74%, 62%)
CMYKcmyk(49.7%, 73.9%, 0%, 38.4%)
CIE-LABlab(28.60, 44.62, -56.71)
CIE-LCHlch(28.60, 72.16, 308.19°)
OKLaboklab(40.43% 0.0643 -0.1627)
OKLCHoklch(40.43% 0.175 291.6)
XYZxyz(10.1015, 5.6821, 32.4563)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F299D #779D29
analogous
#293D9D #4F299D #89299D
triadic
#4F299D #9D4F29 #299D4F
tetradic
#4F299D #9D293D #779D29 #299D89
square
#4F299D #9D293D #779D29 #299D89
split-complementary
#4F299D #9D8929 #3D9D29
monochromatic
#1E103C #371C6C #4F299D #6838CB #8D69D8

Accessibility & contrast

On white

9.83
#4F299D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4F299D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F299D
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F299D#FFFFFF#000000##FFFFFF
##4F299D1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#354860
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4f299d;
/* rgb */ color: rgb(79, 41, 157);
/* oklch */ color: oklch(40.4% 0.175 291.6);
Tailwind
colors: {
  custom: {
    50: '#8866bb',
    500: '#4f299d',
    950: '#000000',
  },
}
SCSS
$custom: #4f299d;
$custom-light: #8866bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f299d",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 259.655,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4043,
    "c": 0.17496,
    "h": 291.6
  },
  "luminance": 0.05682
}

Semantic roles & 50–950 ramp

primary
#4F299D
secondary
#A0BE64
accent
#E246AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4F299D

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

Preview Lab → · Contrast checker → · Palette generator →

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