#4A28D0#4A28D0

#4A28D0 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.9% C 0.234 H 280.6°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#4A28D0
RGBrgb(74, 40, 208)
HSLhsl(252, 68%, 49%)
HSVhsv(252, 81%, 82%)
CMYKcmyk(64.4%, 80.8%, 0%, 18.4%)
CIE-LABlab(32.98, 58.88, -79.82)
CIE-LCHlch(32.98, 99.19, 306.41°)
OKLaboklab(44.88% 0.043 -0.2304)
OKLCHoklch(44.88% 0.234 280.6)
XYZxyz(14.9644, 7.5263, 60.3264)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A28D0 #AED028
analogous
#285AD0 #4A28D0 #9E28D0
triadic
#4A28D0 #D04A28 #28D04A
tetradic
#4A28D0 #D0285A #AED028 #28D09E
square
#4A28D0 #D0285A #AED028 #28D09E
split-complementary
#4A28D0 #D09E28 #5AD028
monochromatic
#251469 #381E9D #4A28D0 #7257DF #9D8AE8

Accessibility & contrast

On white

8.38
#4A28D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4A28D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A28D0
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A28D0#FFFFFF#000000##FFFFFF
##4A28D01.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053D5
Deuteranopia (green-blind)
#0047CD
Tritanopia (blue-blind)
#005C7D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4a28d0;
/* rgb */ color: rgb(74, 40, 208);
/* oklch */ color: oklch(44.9% 0.234 280.6);
Tailwind
colors: {
  custom: {
    50: '#8e68e0',
    500: '#4a28d0',
    950: '#000000',
  },
}
SCSS
$custom: #4a28d0;
$custom-light: #8e68e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a28d0",
  "rgb": {
    "r": 74,
    "g": 40,
    "b": 208
  },
  "hsl": {
    "h": 252.143,
    "s": 67.742,
    "l": 48.627
  },
  "oklch": {
    "l": 0.44881,
    "c": 0.23437,
    "h": 280.6
  },
  "luminance": 0.07527
}

Semantic roles & 50–950 ramp

primary
#4A28D0
secondary
#C2D282
accent
#EB3DC8
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4A28D0

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

Preview Lab → · Contrast checker → · Palette generator →

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