#4F25A0#4F25A0

#4F25A0 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.183 H 291.5°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#4F25A0
RGBrgb(79, 37, 160)
HSLhsl(260, 62%, 39%)
HSVhsv(260, 77%, 63%)
CMYKcmyk(50.6%, 76.9%, 0%, 37.3%)
CIE-LABlab(28.18, 47.42, -59.23)
CIE-LCHlch(28.18, 75.87, 308.68°)
OKLaboklab(40.22% 0.0669 -0.1701)
OKLCHoklch(40.22% 0.183 291.5)
XYZxyz(10.2294, 5.5231, 33.7780)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F25A0 #76A025
analogous
#2538A0 #4F25A0 #8C25A0
triadic
#4F25A0 #A04F25 #25A04F
tetradic
#4F25A0 #A02538 #76A025 #25A08C
square
#4F25A0 #A02538 #76A025 #25A08C
split-complementary
#4F25A0 #A08C25 #38A025
monochromatic
#1E0E3D #361A6E #4F25A0 #6832D0 #8D64DB

Accessibility & contrast

On white

9.98
#4F25A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F25A0
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F25A0#FFFFFF#000000##FFFFFF
##4F25A01.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f25a0;
/* rgb */ color: rgb(79, 37, 160);
/* oklch */ color: oklch(40.2% 0.183 291.5);
Tailwind
colors: {
  custom: {
    50: '#8964bd',
    500: '#4f25a0',
    950: '#000000',
  },
}
SCSS
$custom: #4f25a0;
$custom-light: #8964bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f25a0",
  "rgb": {
    "r": 79,
    "g": 37,
    "b": 160
  },
  "hsl": {
    "h": 260.488,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40219,
    "c": 0.18277,
    "h": 291.5
  },
  "luminance": 0.05523
}

Semantic roles & 50–950 ramp

primary
#4F25A0
secondary
#A0C160
accent
#E642AE
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4F25A0

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

Preview Lab → · Contrast checker → · Palette generator →

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