#4D25B0#4D25B0

#4D25B0 is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.6% C 0.201 H 287.1°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#4D25B0
RGBrgb(77, 37, 176)
HSLhsl(257, 65%, 42%)
HSVhsv(257, 79%, 69%)
CMYKcmyk(56.2%, 79%, 0%, 31%)
CIE-LABlab(29.50, 51.58, -66.70)
CIE-LCHlch(29.50, 84.32, 307.71°)
OKLaboklab(41.56% 0.0591 -0.192)
OKLCHoklch(41.56% 0.201 287.1)
XYZxyz(11.5563, 6.0349, 41.6218)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D25B0 #88B025
analogous
#2543B0 #4D25B0 #9325B0
triadic
#4D25B0 #B04D25 #25B04D
tetradic
#4D25B0 #B02543 #88B025 #25B093
square
#4D25B0 #B02543 #88B025 #25B093
split-complementary
#4D25B0 #B09325 #43B025
monochromatic
#21104B #371A7D #4D25B0 #683CD6 #906FE1

Accessibility & contrast

On white

9.51
#4D25B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4D25B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D25B0
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D25B0#FFFFFF#000000##FFFFFF
##4D25B01.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#204E6A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4d25b0;
/* rgb */ color: rgb(77, 37, 176);
/* oklch */ color: oklch(41.6% 0.201 287.1);
Tailwind
colors: {
  custom: {
    50: '#8a65c9',
    500: '#4d25b0',
    950: '#000000',
  },
}
SCSS
$custom: #4d25b0;
$custom-light: #8a65c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d25b0",
  "rgb": {
    "r": 77,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 257.266,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4156,
    "c": 0.20092,
    "h": 287.1
  },
  "luminance": 0.06036
}

Semantic roles & 50–950 ramp

primary
#4D25B0
secondary
#ACC76A
accent
#E840B8
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4D25B0

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

Preview Lab → · Contrast checker → · Palette generator →

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