#4F25AE#4F25AE

#4F25AE is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.6% C 0.199 H 288.4°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#4F25AE
RGBrgb(79, 37, 174)
HSLhsl(258, 65%, 41%)
HSVhsv(258, 79%, 68%)
CMYKcmyk(54.6%, 78.7%, 0%, 31.8%)
CIE-LABlab(29.52, 51.28, -65.47)
CIE-LCHlch(29.52, 83.17, 308.07°)
OKLaboklab(41.56% 0.0628 -0.1884)
OKLCHoklch(41.56% 0.199 288.4)
XYZxyz(11.5237, 6.0408, 40.5950)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F25AE #84AE25
analogous
#2540AE #4F25AE #9425AE
triadic
#4F25AE #AE4F25 #25AE4F
tetradic
#4F25AE #AE2540 #84AE25 #25AE94
square
#4F25AE #AE2540 #84AE25 #25AE94
split-complementary
#4F25AE #AE9425 #40AE25
monochromatic
#211049 #381A7C #4F25AE #6A3BD5 #916DE0

Accessibility & contrast

On white

9.51
#4F25AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4F25AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F25AE
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F25AE#FFFFFF#000000##FFFFFF
##4F25AE1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#0042AC
Tritanopia (blue-blind)
#284D69
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4f25ae;
/* rgb */ color: rgb(79, 37, 174);
/* oklch */ color: oklch(41.6% 0.199 288.4);
Tailwind
colors: {
  custom: {
    50: '#8b65c7',
    500: '#4f25ae',
    950: '#000000',
  },
}
SCSS
$custom: #4f25ae;
$custom-light: #8b65c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f25ae",
  "rgb": {
    "r": 79,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 258.394,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4156,
    "c": 0.19856,
    "h": 288.4
  },
  "luminance": 0.06041
}

Semantic roles & 50–950 ramp

primary
#4F25AE
secondary
#AAC668
accent
#E840B4
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F25AE

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

Preview Lab → · Contrast checker → · Palette generator →

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