#4F25B0#4F25B0

#4F25B0 is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 41.8% C 0.201 H 288.0°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#4F25B0
RGBrgb(79, 37, 176)
HSLhsl(258, 65%, 42%)
HSVhsv(258, 79%, 69%)
CMYKcmyk(55.1%, 79%, 0%, 31%)
CIE-LABlab(29.71, 51.83, -66.35)
CIE-LCHlch(29.71, 84.19, 308.00°)
OKLaboklab(41.76% 0.0622 -0.1909)
OKLCHoklch(41.76% 0.201 288)
XYZxyz(11.7202, 6.1194, 41.6295)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F25B0 #86B025
analogous
#2541B0 #4F25B0 #9425B0
triadic
#4F25B0 #B04F25 #25B04F
tetradic
#4F25B0 #B02541 #86B025 #25B094
square
#4F25B0 #B02541 #86B025 #25B094
split-complementary
#4F25B0 #B09425 #41B025
monochromatic
#22104B #381A7D #4F25B0 #6B3CD6 #916FE1

Accessibility & contrast

On white

9.44
#4F25B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F25B0
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F25B0#FFFFFF#000000##FFFFFF
##4F25B01.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f25b0;
/* rgb */ color: rgb(79, 37, 176);
/* oklch */ color: oklch(41.8% 0.201 288.0);
Tailwind
colors: {
  custom: {
    50: '#8b65c9',
    500: '#4f25b0',
    950: '#000000',
  },
}
SCSS
$custom: #4f25b0;
$custom-light: #8b65c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f25b0",
  "rgb": {
    "r": 79,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 258.129,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41756,
    "c": 0.2008,
    "h": 288
  },
  "luminance": 0.0612
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F25B0

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

Preview Lab → · Contrast checker → · Palette generator →

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