#4F298D#4F298D

#4F298D is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.0% C 0.156 H 295.7°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#4F298D
RGBrgb(79, 41, 141)
HSLhsl(263, 55%, 36%)
HSVhsv(263, 71%, 55%)
CMYKcmyk(44%, 70.9%, 0%, 44.7%)
CIE-LABlab(27.22, 40.12, -49.13)
CIE-LCHlch(27.22, 63.43, 309.23°)
OKLaboklab(39.02% 0.0676 -0.1405)
OKLCHoklch(39.02% 0.156 295.7)
XYZxyz(8.8238, 5.1710, 25.7273)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F298D #678D29
analogous
#29358D #4F298D #81298D
triadic
#4F298D #8D4F29 #298D4F
tetradic
#4F298D #8D2935 #678D29 #298D81
square
#4F298D #8D2935 #678D29 #298D81
split-complementary
#4F298D #8D8129 #358D29
monochromatic
#1A0D2E #341B5E #4F298D #6A37BC #8B60D1

Accessibility & contrast

On white

10.32
#4F298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4F298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F298D
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F298D#FFFFFF#000000##FFFFFF
##4F298D1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#3E4258
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4f298d;
/* rgb */ color: rgb(79, 41, 141);
/* oklch */ color: oklch(39.0% 0.156 295.7);
Tailwind
colors: {
  custom: {
    50: '#8666af',
    500: '#4f298d',
    950: '#000000',
  },
}
SCSS
$custom: #4f298d;
$custom-light: #8666af;
$custom-dark: #000000;
JSON
{
  "hex": "#4f298d",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 262.8,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39023,
    "c": 0.15589,
    "h": 295.7
  },
  "luminance": 0.05171
}

Semantic roles & 50–950 ramp

primary
#4F298D
secondary
#94B65B
accent
#DE4AA6
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #4F298D

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

Preview Lab → · Contrast checker → · Palette generator →

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