#4B25A3#4B25A3

#4B25A3 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.186 H 288.8°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#4B25A3
RGBrgb(75, 37, 163)
HSLhsl(258, 63%, 39%)
HSVhsv(258, 77%, 64%)
CMYKcmyk(54%, 77.3%, 0%, 36.1%)
CIE-LABlab(28.01, 47.67, -61.33)
CIE-LCHlch(28.01, 77.68, 307.86°)
OKLaboklab(40.09% 0.0599 -0.1764)
OKLCHoklch(40.09% 0.186 288.8)
XYZxyz(10.1721, 5.4628, 35.1617)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B25A3 #7DA325
analogous
#253EA3 #4B25A3 #8A25A3
triadic
#4B25A3 #A34B25 #25A34B
tetradic
#4B25A3 #A3253E #7DA325 #25A38A
square
#4B25A3 #A3253E #7DA325 #25A38A
split-complementary
#4B25A3 #A38A25 #3EA325
monochromatic
#1D0E3F #341A71 #4B25A3 #6434D1 #8A66DC

Accessibility & contrast

On white

10.04
#4B25A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4B25A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B25A3
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B25A3#FFFFFF#000000##FFFFFF
##4B25A31.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#003FA1
Tritanopia (blue-blind)
#284963
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4b25a3;
/* rgb */ color: rgb(75, 37, 163);
/* oklch */ color: oklch(40.1% 0.186 288.8);
Tailwind
colors: {
  custom: {
    50: '#8764bf',
    500: '#4b25a3',
    950: '#000000',
  },
}
SCSS
$custom: #4b25a3;
$custom-light: #8764bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b25a3",
  "rgb": {
    "r": 75,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 258.095,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40089,
    "c": 0.18627,
    "h": 288.8
  },
  "luminance": 0.05463
}

Semantic roles & 50–950 ramp

primary
#4B25A3
secondary
#A5C262
accent
#E642B4
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B25A3

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

Preview Lab → · Contrast checker → · Palette generator →

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