#4F25AF#4F25AF

#4F25AF is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.200 H 288.2°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#4F25AF
RGBrgb(79, 37, 175)
HSLhsl(258, 65%, 42%)
HSVhsv(258, 79%, 69%)
CMYKcmyk(54.9%, 78.9%, 0%, 31.4%)
CIE-LABlab(29.61, 51.56, -65.91)
CIE-LCHlch(29.61, 83.68, 308.03°)
OKLaboklab(41.66% 0.0625 -0.1896)
OKLCHoklch(41.66% 0.2 288.2)
XYZxyz(11.6216, 6.0800, 41.1103)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F25AF #85AF25
analogous
#2540AF #4F25AF #9425AF
triadic
#4F25AF #AF4F25 #25AF4F
tetradic
#4F25AF #AF2540 #85AF25 #25AF94
square
#4F25AF #AF2540 #85AF25 #25AF94
split-complementary
#4F25AF #AF9425 #40AF25
monochromatic
#21104A #381A7C #4F25AF #6A3CD6 #916EE0

Accessibility & contrast

On white

9.48
#4F25AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4F25AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F25AF
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F25AF#FFFFFF#000000##FFFFFF
##4F25AF1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#274D6A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4f25af;
/* rgb */ color: rgb(79, 37, 175);
/* oklch */ color: oklch(41.7% 0.200 288.2);
Tailwind
colors: {
  custom: {
    50: '#8b65c8',
    500: '#4f25af',
    950: '#000000',
  },
}
SCSS
$custom: #4f25af;
$custom-light: #8b65c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f25af",
  "rgb": {
    "r": 79,
    "g": 37,
    "b": 175
  },
  "hsl": {
    "h": 258.261,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41658,
    "c": 0.19968,
    "h": 288.2
  },
  "luminance": 0.06081
}

Semantic roles & 50–950 ramp

primary
#4F25AF
secondary
#AAC769
accent
#E840B5
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F25AF

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

Preview Lab → · Contrast checker → · Palette generator →

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