#4D25B3#4D25B3

#4D25B3 is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 41.9% C 0.204 H 286.6°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#4D25B3
RGBrgb(77, 37, 179)
HSLhsl(257, 66%, 42%)
HSVhsv(257, 79%, 70%)
CMYKcmyk(57%, 79.3%, 0%, 29.8%)
CIE-LABlab(29.80, 52.41, -68.00)
CIE-LCHlch(29.80, 85.86, 307.63°)
OKLaboklab(41.86% 0.0582 -0.1958)
OKLCHoklch(41.86% 0.204 286.6)
XYZxyz(11.8564, 6.1549, 43.2023)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D25B3 #8BB325
analogous
#2544B3 #4D25B3 #9425B3
triadic
#4D25B3 #B34D25 #25B34D
tetradic
#4D25B3 #B32544 #8BB325 #25B394
square
#4D25B3 #B32544 #8BB325 #25B394
split-complementary
#4D25B3 #B39425 #44B325
monochromatic
#21104E #371B80 #4D25B3 #693ED7 #9171E2

Accessibility & contrast

On white

9.41
#4D25B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4D25B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D25B3
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D25B3#FFFFFF#000000##FFFFFF
##4D25B31.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#0042B0
Tritanopia (blue-blind)
#1B4F6C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4d25b3;
/* rgb */ color: rgb(77, 37, 179);
/* oklch */ color: oklch(41.9% 0.204 286.6);
Tailwind
colors: {
  custom: {
    50: '#8b65cb',
    500: '#4d25b3',
    950: '#000000',
  },
}
SCSS
$custom: #4d25b3;
$custom-light: #8b65cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d25b3",
  "rgb": {
    "r": 77,
    "g": 37,
    "b": 179
  },
  "hsl": {
    "h": 256.901,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41858,
    "c": 0.20427,
    "h": 286.6
  },
  "luminance": 0.06156
}

Semantic roles & 50–950 ramp

primary
#4D25B3
secondary
#AEC86B
accent
#E93FB9
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4D25B3

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

Preview Lab → · Contrast checker → · Palette generator →

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