#4A25B3#4A25B3

#4A25B3 is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.6% C 0.205 H 285.2°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#4A25B3
RGBrgb(74, 37, 179)
HSLhsl(256, 66%, 42%)
HSVhsv(256, 79%, 70%)
CMYKcmyk(58.7%, 79.3%, 0%, 29.8%)
CIE-LABlab(29.50, 52.05, -68.51)
CIE-LCHlch(29.50, 86.04, 307.23°)
OKLaboklab(41.57% 0.0536 -0.1974)
OKLCHoklch(41.57% 0.205 285.2)
XYZxyz(11.6198, 6.0329, 43.1913)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A25B3 #8EB325
analogous
#2547B3 #4A25B3 #9125B3
triadic
#4A25B3 #B34A25 #25B34A
tetradic
#4A25B3 #B32547 #8EB325 #25B391
square
#4A25B3 #B32547 #8EB325 #25B391
split-complementary
#4A25B3 #B39125 #47B325
monochromatic
#20104E #351B80 #4A25B3 #663ED7 #8E71E2

Accessibility & contrast

On white

9.52
#4A25B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4A25B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A25B3
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A25B3#FFFFFF#000000##FFFFFF
##4A25B31.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#0041B0
Tritanopia (blue-blind)
#0D4F6C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4a25b3;
/* rgb */ color: rgb(74, 37, 179);
/* oklch */ color: oklch(41.6% 0.205 285.2);
Tailwind
colors: {
  custom: {
    50: '#8965cb',
    500: '#4a25b3',
    950: '#000000',
  },
}
SCSS
$custom: #4a25b3;
$custom-light: #8965cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a25b3",
  "rgb": {
    "r": 74,
    "g": 37,
    "b": 179
  },
  "hsl": {
    "h": 255.634,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41574,
    "c": 0.20455,
    "h": 285.2
  },
  "luminance": 0.06034
}

Semantic roles & 50–950 ramp

primary
#4A25B3
secondary
#B0C86B
accent
#E93FBD
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4A25B3

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

Preview Lab → · Contrast checker → · Palette generator →

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