#4B25AA#4B25AA

#4B25AA is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.194 H 287.3°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#4B25AA
RGBrgb(75, 37, 170)
HSLhsl(257, 64%, 41%)
HSVhsv(257, 78%, 67%)
CMYKcmyk(55.9%, 78.2%, 0%, 33.3%)
CIE-LABlab(28.70, 49.64, -64.43)
CIE-LCHlch(28.70, 81.34, 307.61°)
OKLaboklab(40.77% 0.0579 -0.1854)
OKLCHoklch(40.77% 0.194 287.3)
XYZxyz(10.8168, 5.7207, 38.5567)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B25AA #84AA25
analogous
#2541AA #4B25AA #8D25AA
triadic
#4B25AA #AA4B25 #25AA4B
tetradic
#4B25AA #AA2541 #84AA25 #25AA8D
square
#4B25AA #AA2541 #84AA25 #25AA8D
split-complementary
#4B25AA #AA8D25 #41AA25
monochromatic
#1F0F45 #351A78 #4B25AA #6538D4 #8C6BDF

Accessibility & contrast

On white

9.79
#4B25AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4B25AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B25AA
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B25AA#FFFFFF#000000##FFFFFF
##4B25AA1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#0040A8
Tritanopia (blue-blind)
#214B67
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4b25aa;
/* rgb */ color: rgb(75, 37, 170);
/* oklch */ color: oklch(40.8% 0.194 287.3);
Tailwind
colors: {
  custom: {
    50: '#8865c4',
    500: '#4b25aa',
    950: '#000000',
  },
}
SCSS
$custom: #4b25aa;
$custom-light: #8865c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b25aa",
  "rgb": {
    "r": 75,
    "g": 37,
    "b": 170
  },
  "hsl": {
    "h": 257.143,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40771,
    "c": 0.19427,
    "h": 287.3
  },
  "luminance": 0.05721
}

Semantic roles & 50–950 ramp

primary
#4B25AA
secondary
#AAC566
accent
#E741B8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4B25AA

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

Preview Lab → · Contrast checker → · Palette generator →

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