#4B25B9#4B25B9

#4B25B9 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.3% C 0.211 H 284.6°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#4B25B9
RGBrgb(75, 37, 185)
HSLhsl(255, 67%, 44%)
HSVhsv(255, 80%, 73%)
CMYKcmyk(59.5%, 80%, 0%, 27.5%)
CIE-LABlab(30.21, 53.85, -70.90)
CIE-LCHlch(30.21, 89.03, 307.22°)
OKLaboklab(42.28% 0.0533 -0.2043)
OKLCHoklch(42.28% 0.211 284.6)
XYZxyz(12.3175, 6.3210, 46.4605)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B25B9 #93B925
analogous
#2549B9 #4B25B9 #9525B9
triadic
#4B25B9 #B94B25 #25B94B
tetradic
#4B25B9 #B92549 #93B925 #25B995
square
#4B25B9 #B92549 #93B925 #25B995
split-complementary
#4B25B9 #B99525 #49B925
monochromatic
#221153 #361B86 #4B25B9 #6942D9 #9175E3

Accessibility & contrast

On white

9.27
#4B25B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4B25B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B25B9
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B25B9#FFFFFF#000000##FFFFFF
##4B25B91.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBD
Deuteranopia (green-blind)
#0042B6
Tritanopia (blue-blind)
#015170
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4b25b9;
/* rgb */ color: rgb(75, 37, 185);
/* oklch */ color: oklch(42.3% 0.211 284.6);
Tailwind
colors: {
  custom: {
    50: '#8b65cf',
    500: '#4b25b9',
    950: '#000000',
  },
}
SCSS
$custom: #4b25b9;
$custom-light: #8b65cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b25b9",
  "rgb": {
    "r": 75,
    "g": 37,
    "b": 185
  },
  "hsl": {
    "h": 255.405,
    "s": 66.667,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42275,
    "c": 0.21116,
    "h": 284.6
  },
  "luminance": 0.06322
}

Semantic roles & 50–950 ramp

primary
#4B25B9
secondary
#B3CB6F
accent
#EA3EBE
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4B25B9

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

Preview Lab → · Contrast checker → · Palette generator →

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