#4F259A#4F259A

#4F259A is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.176 H 292.9°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#4F259A
RGBrgb(79, 37, 154)
HSLhsl(262, 61%, 37%)
HSVhsv(262, 76%, 60%)
CMYKcmyk(48.7%, 76%, 0%, 39.6%)
CIE-LABlab(27.62, 45.77, -56.47)
CIE-LCHlch(27.62, 72.69, 309.02°)
OKLaboklab(39.66% 0.0685 -0.162)
OKLCHoklch(39.66% 0.176 292.9)
XYZxyz(9.7171, 5.3182, 31.0801)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F259A #709A25
analogous
#25369A #4F259A #89259A
triadic
#4F259A #9A4F25 #259A4F
tetradic
#4F259A #9A2536 #709A25 #259A89
square
#4F259A #9A2536 #709A25 #259A89
split-complementary
#4F259A #9A8925 #369A25
monochromatic
#1C0D37 #361969 #4F259A #6831CB #8C60D9

Accessibility & contrast

On white

10.18
#4F259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4F259A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F259A
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F259A#FFFFFF#000000##FFFFFF
##4F259A1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#38455E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4f259a;
/* rgb */ color: rgb(79, 37, 154);
/* oklch */ color: oklch(39.7% 0.176 292.9);
Tailwind
colors: {
  custom: {
    50: '#8864b9',
    500: '#4f259a',
    950: '#000000',
  },
}
SCSS
$custom: #4f259a;
$custom-light: #8864b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f259a",
  "rgb": {
    "r": 79,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 261.538,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39661,
    "c": 0.17591,
    "h": 292.9
  },
  "luminance": 0.05318
}

Semantic roles & 50–950 ramp

primary
#4F259A
secondary
#9BBE5D
accent
#E443AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4F259A

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

Preview Lab → · Contrast checker → · Palette generator →

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