#4A2DCE#4A2DCE

#4A2DCE is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.2% C 0.228 H 280.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#4A2DCE
RGBrgb(74, 45, 206)
HSLhsl(251, 64%, 49%)
HSVhsv(251, 78%, 81%)
CMYKcmyk(64.1%, 78.2%, 0%, 19.2%)
CIE-LABlab(33.54, 56.08, -77.73)
CIE-LCHlch(33.54, 95.85, 305.81°)
OKLaboklab(45.21% 0.0411 -0.2244)
OKLCHoklch(45.21% 0.228 280.4)
XYZxyz(14.8995, 7.7877, 59.0986)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2DCE #B1CE2D
analogous
#2D61CE #4A2DCE #9A2DCE
triadic
#4A2DCE #CE4A2D #2DCE4A
tetradic
#4A2DCE #CE2D61 #B1CE2D #2DCE9A
square
#4A2DCE #CE2D61 #B1CE2D #2DCE9A
split-complementary
#4A2DCE #CE9A2D #61CE2D
monochromatic
#26176A #38229C #4A2DCE #745DDC #9F8FE7

Accessibility & contrast

On white

8.21
#4A2DCE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4A2DCE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2DCE
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2DCE#FFFFFF#000000##FFFFFF
##4A2DCE1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054D2
Deuteranopia (green-blind)
#0049CB
Tritanopia (blue-blind)
#005D7D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4a2dce;
/* rgb */ color: rgb(74, 45, 206);
/* oklch */ color: oklch(45.2% 0.228 280.4);
Tailwind
colors: {
  custom: {
    50: '#8e6bde',
    500: '#4a2dce',
    950: '#000000',
  },
}
SCSS
$custom: #4a2dce;
$custom-light: #8e6bde;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2dce",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 206
  },
  "hsl": {
    "h": 250.807,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45208,
    "c": 0.22811,
    "h": 280.4
  },
  "luminance": 0.07789
}

Semantic roles & 50–950 ramp

primary
#4A2DCE
secondary
#C3D186
accent
#E741C9
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4A2DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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