#4F25BA#4F25BA

#4F25BA is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.8% C 0.212 H 286.2°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#4F25BA
RGBrgb(79, 37, 186)
HSLhsl(257, 67%, 44%)
HSVhsv(257, 80%, 73%)
CMYKcmyk(57.5%, 80.1%, 0%, 27.1%)
CIE-LABlab(30.71, 54.59, -70.65)
CIE-LCHlch(30.71, 89.28, 307.69°)
OKLaboklab(42.75% 0.059 -0.2035)
OKLCHoklch(42.75% 0.212 286.2)
XYZxyz(12.7463, 6.5298, 47.0336)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F25BA #90BA25
analogous
#2545BA #4F25BA #9925BA
triadic
#4F25BA #BA4F25 #25BA4F
tetradic
#4F25BA #BA2545 #90BA25 #25BA99
square
#4F25BA #BA2545 #90BA25 #25BA99
split-complementary
#4F25BA #BA9925 #45BA25
monochromatic
#241154 #391B87 #4F25BA #6D43DA #9576E4

Accessibility & contrast

On white

9.11
#4F25BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4F25BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F25BA
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F25BA#FFFFFF#000000##FFFFFF
##4F25BA1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBE
Deuteranopia (green-blind)
#0044B7
Tritanopia (blue-blind)
#185270
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4f25ba;
/* rgb */ color: rgb(79, 37, 186);
/* oklch */ color: oklch(42.8% 0.212 286.2);
Tailwind
colors: {
  custom: {
    50: '#8d66d0',
    500: '#4f25ba',
    950: '#000000',
  },
}
SCSS
$custom: #4f25ba;
$custom-light: #8d66d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f25ba",
  "rgb": {
    "r": 79,
    "g": 37,
    "b": 186
  },
  "hsl": {
    "h": 256.913,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4275,
    "c": 0.21188,
    "h": 286.2
  },
  "luminance": 0.06531
}

Semantic roles & 50–950 ramp

primary
#4F25BA
secondary
#B1CB70
accent
#EA3EB9
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4F25BA

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

Preview Lab → · Contrast checker → · Palette generator →

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