#4F259B#4F259B

#4F259B is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.177 H 292.7°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#4F259B
RGBrgb(79, 37, 155)
HSLhsl(261, 61%, 38%)
HSVhsv(261, 76%, 61%)
CMYKcmyk(49%, 76.1%, 0%, 39.2%)
CIE-LABlab(27.71, 46.04, -56.94)
CIE-LCHlch(27.71, 73.22, 308.96°)
OKLaboklab(39.75% 0.0683 -0.1634)
OKLCHoklch(39.75% 0.177 292.7)
XYZxyz(9.8008, 5.3516, 31.5206)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F259B #719B25
analogous
#25369B #4F259B #8A259B
triadic
#4F259B #9B4F25 #259B4F
tetradic
#4F259B #9B2536 #719B25 #259B8A
square
#4F259B #9B2536 #719B25 #259B8A
split-complementary
#4F259B #9B8A25 #369B25
monochromatic
#1D0D38 #36196A #4F259B #6831CC #8C61D9

Accessibility & contrast

On white

10.14
#4F259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4F259B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F259B
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F259B#FFFFFF#000000##FFFFFF
##4F259B1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003F99
Tritanopia (blue-blind)
#37455E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4f259b;
/* rgb */ color: rgb(79, 37, 155);
/* oklch */ color: oklch(39.8% 0.177 292.7);
Tailwind
colors: {
  custom: {
    50: '#8864b9',
    500: '#4f259b',
    950: '#000000',
  },
}
SCSS
$custom: #4f259b;
$custom-light: #8864b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f259b",
  "rgb": {
    "r": 79,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 261.356,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39753,
    "c": 0.17706,
    "h": 292.7
  },
  "luminance": 0.05352
}

Semantic roles & 50–950 ramp

primary
#4F259B
secondary
#9CBF5D
accent
#E543AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4F259B

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

Preview Lab → · Contrast checker → · Palette generator →

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