#4F259F#4F259F

#4F259F is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.182 H 291.7°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#4F259F
RGBrgb(79, 37, 159)
HSLhsl(261, 62%, 38%)
HSVhsv(261, 77%, 62%)
CMYKcmyk(50.3%, 76.7%, 0%, 37.6%)
CIE-LABlab(28.08, 47.15, -58.77)
CIE-LCHlch(28.08, 75.34, 308.74°)
OKLaboklab(40.13% 0.0672 -0.1687)
OKLCHoklch(40.13% 0.182 291.7)
XYZxyz(10.1423, 5.4882, 33.3191)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F259F #759F25
analogous
#25389F #4F259F #8C259F
triadic
#4F259F #9F4F25 #259F4F
tetradic
#4F259F #9F2538 #759F25 #259F8C
square
#4F259F #9F2538 #759F25 #259F8C
split-complementary
#4F259F #9F8C25 #389F25
monochromatic
#1E0E3C #36196D #4F259F #6832CF #8D64DB

Accessibility & contrast

On white

10.01
#4F259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4F259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F259F
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F259F#FFFFFF#000000##FFFFFF
##4F259F1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#344761
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4f259f;
/* rgb */ color: rgb(79, 37, 159);
/* oklch */ color: oklch(40.1% 0.182 291.7);
Tailwind
colors: {
  custom: {
    50: '#8964bc',
    500: '#4f259f',
    950: '#000000',
  },
}
SCSS
$custom: #4f259f;
$custom-light: #8964bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f259f",
  "rgb": {
    "r": 79,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 260.656,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40125,
    "c": 0.18163,
    "h": 291.7
  },
  "luminance": 0.05489
}

Semantic roles & 50–950 ramp

primary
#4F259F
secondary
#9FC05F
accent
#E542AD
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4F259F

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

Preview Lab → · Contrast checker → · Palette generator →

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