#4B25A2#4B25A2

#4B25A2 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.185 H 289.0°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#4B25A2
RGBrgb(75, 37, 162)
HSLhsl(258, 63%, 39%)
HSVhsv(258, 77%, 64%)
CMYKcmyk(53.7%, 77.2%, 0%, 36.5%)
CIE-LABlab(27.92, 47.39, -60.88)
CIE-LCHlch(27.92, 77.15, 307.90°)
OKLaboklab(39.99% 0.0602 -0.175)
OKLCHoklch(39.99% 0.185 289)
XYZxyz(10.0829, 5.4271, 34.6917)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B25A2 #7CA225
analogous
#253EA2 #4B25A2 #8A25A2
triadic
#4B25A2 #A24B25 #25A24B
tetradic
#4B25A2 #A2253E #7CA225 #25A28A
square
#4B25A2 #A2253E #7CA225 #25A28A
split-complementary
#4B25A2 #A28A25 #3EA225
monochromatic
#1D0E3E #341A70 #4B25A2 #6334D1 #8965DC

Accessibility & contrast

On white

10.07
#4B25A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B25A2
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B25A2#FFFFFF#000000##FFFFFF
##4B25A21.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A6
Deuteranopia (green-blind)
#003FA0
Tritanopia (blue-blind)
#294862
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4b25a2;
/* rgb */ color: rgb(75, 37, 162);
/* oklch */ color: oklch(40.0% 0.185 289.0);
Tailwind
colors: {
  custom: {
    50: '#8764bf',
    500: '#4b25a2',
    950: '#000000',
  },
}
SCSS
$custom: #4b25a2;
$custom-light: #8764bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b25a2",
  "rgb": {
    "r": 75,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 258.24,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39992,
    "c": 0.18511,
    "h": 289
  },
  "luminance": 0.05428
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B25A2

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

Preview Lab → · Contrast checker → · Palette generator →

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