#4F259D#4F259D

#4F259D is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.179 H 292.2°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#4F259D
RGBrgb(79, 37, 157)
HSLhsl(261, 62%, 38%)
HSVhsv(261, 76%, 62%)
CMYKcmyk(49.7%, 76.4%, 0%, 38.4%)
CIE-LABlab(27.90, 46.59, -57.86)
CIE-LCHlch(27.90, 74.28, 308.85°)
OKLaboklab(39.94% 0.0677 -0.1661)
OKLCHoklch(39.94% 0.179 292.2)
XYZxyz(9.9701, 5.4194, 32.4125)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F259D #739D25
analogous
#25379D #4F259D #8B259D
triadic
#4F259D #9D4F25 #259D4F
tetradic
#4F259D #9D2537 #739D25 #259D8B
square
#4F259D #9D2537 #739D25 #259D8B
split-complementary
#4F259D #9D8B25 #379D25
monochromatic
#1D0E3A #36196B #4F259D #6831CE #8C62DA

Accessibility & contrast

On white

10.08
#4F259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4F259D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F259D
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F259D#FFFFFF#000000##FFFFFF
##4F259D1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f259d;
/* rgb */ color: rgb(79, 37, 157);
/* oklch */ color: oklch(39.9% 0.179 292.2);
Tailwind
colors: {
  custom: {
    50: '#8964bb',
    500: '#4f259d',
    950: '#000000',
  },
}
SCSS
$custom: #4f259d;
$custom-light: #8964bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f259d",
  "rgb": {
    "r": 79,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 261,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39938,
    "c": 0.17935,
    "h": 292.2
  },
  "luminance": 0.0542
}

Semantic roles & 50–950 ramp

primary
#4F259D
secondary
#9DBF5E
accent
#E543AC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4F259D

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

Preview Lab → · Contrast checker → · Palette generator →

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