#4F259E#4F259E

#4F259E is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.180 H 291.9°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#4F259E
RGBrgb(79, 37, 158)
HSLhsl(261, 62%, 38%)
HSVhsv(261, 77%, 62%)
CMYKcmyk(50%, 76.6%, 0%, 38%)
CIE-LABlab(27.99, 46.87, -58.31)
CIE-LCHlch(27.99, 74.81, 308.79°)
OKLaboklab(40.03% 0.0675 -0.1674)
OKLCHoklch(40.03% 0.18 291.9)
XYZxyz(10.0558, 5.4536, 32.8639)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F259E #749E25
analogous
#25389E #4F259E #8B259E
triadic
#4F259E #9E4F25 #259E4F
tetradic
#4F259E #9E2538 #749E25 #259E8B
square
#4F259E #9E2538 #749E25 #259E8B
split-complementary
#4F259E #9E8B25 #389E25
monochromatic
#1D0E3B #36196C #4F259E #6831CF #8C63DA

Accessibility & contrast

On white

10.04
#4F259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4F259E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F259E
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F259E#FFFFFF#000000##FFFFFF
##4F259E1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#354660
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4f259e;
/* rgb */ color: rgb(79, 37, 158);
/* oklch */ color: oklch(40.0% 0.180 291.9);
Tailwind
colors: {
  custom: {
    50: '#8964bc',
    500: '#4f259e',
    950: '#000000',
  },
}
SCSS
$custom: #4f259e;
$custom-light: #8964bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f259e",
  "rgb": {
    "r": 79,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 260.826,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40031,
    "c": 0.18048,
    "h": 291.9
  },
  "luminance": 0.05454
}

Semantic roles & 50–950 ramp

primary
#4F259E
secondary
#9EC05F
accent
#E543AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4F259E

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

Preview Lab → · Contrast checker → · Palette generator →

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