#4F25A3#4F25A3

#4F25A3 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.186 H 290.8°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#4F25A3
RGBrgb(79, 37, 163)
HSLhsl(260, 63%, 39%)
HSVhsv(260, 77%, 64%)
CMYKcmyk(51.5%, 77.3%, 0%, 36.1%)
CIE-LABlab(28.46, 48.25, -60.58)
CIE-LCHlch(28.46, 77.45, 308.53°)
OKLaboklab(40.5% 0.0661 -0.1741)
OKLCHoklch(40.5% 0.186 290.8)
XYZxyz(10.4950, 5.6293, 35.1768)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F25A3 #79A325
analogous
#253AA3 #4F25A3 #8E25A3
triadic
#4F25A3 #A34F25 #25A34F
tetradic
#4F25A3 #A3253A #79A325 #25A38E
square
#4F25A3 #A3253A #79A325 #25A38E
split-complementary
#4F25A3 #A38E25 #3AA325
monochromatic
#1F0E3F #371A71 #4F25A3 #6834D1 #8E66DC

Accessibility & contrast

On white

9.88
#4F25A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4F25A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F25A3
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F25A3#FFFFFF#000000##FFFFFF
##4F25A31.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#0040A1
Tritanopia (blue-blind)
#314863
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4f25a3;
/* rgb */ color: rgb(79, 37, 163);
/* oklch */ color: oklch(40.5% 0.186 290.8);
Tailwind
colors: {
  custom: {
    50: '#8965bf',
    500: '#4f25a3',
    950: '#000000',
  },
}
SCSS
$custom: #4f25a3;
$custom-light: #8965bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f25a3",
  "rgb": {
    "r": 79,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 260,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40502,
    "c": 0.18618,
    "h": 290.8
  },
  "luminance": 0.0563
}

Semantic roles & 50–950 ramp

primary
#4F25A3
secondary
#A2C262
accent
#E642AF
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0D0612
muted
#7D7A81

Preview Lab

Preview with #4F25A3

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

Preview Lab → · Contrast checker → · Palette generator →

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