#4A2FDA#4A2FDA

#4A2FDA is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.7% C 0.240 H 278.8°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#4A2FDA
RGBrgb(74, 47, 218)
HSLhsl(249, 70%, 52%)
HSVhsv(249, 78%, 85%)
CMYKcmyk(66.1%, 78.4%, 0%, 14.5%)
CIE-LABlab(35.10, 58.61, -82.09)
CIE-LCHlch(35.10, 100.86, 305.53°)
OKLaboklab(46.67% 0.0368 -0.2371)
OKLCHoklch(46.67% 0.24 278.8)
XYZxyz(16.4914, 8.5494, 67.0972)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2FDA #BFDA2F
analogous
#2F69DA #4A2FDA #A02FDA
triadic
#4A2FDA #DA4A2F #2FDA4A
tetradic
#4A2FDA #DA2F69 #BFDA2F #2FDAA0
square
#4A2FDA #DA2F69 #BFDA2F #2FDAA0
split-complementary
#4A2FDA #DAA02F #69DA2F
monochromatic
#251679 #351FAD #4A2FDA #7763E3 #A497EC

Accessibility & contrast

On white

7.75
#4A2FDA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4A2FDA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2FDA
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2FDA#FFFFFF#000000##FFFFFF
##4A2FDA1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059DF
Deuteranopia (green-blind)
#004CD7
Tritanopia (blue-blind)
#006385
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4a2fda;
/* rgb */ color: rgb(74, 47, 218);
/* oklch */ color: oklch(46.7% 0.240 278.8);
Tailwind
colors: {
  custom: {
    50: '#906de7',
    500: '#4a2fda',
    950: '#000000',
  },
}
SCSS
$custom: #4a2fda;
$custom-light: #906de7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2fda",
  "rgb": {
    "r": 74,
    "g": 47,
    "b": 218
  },
  "hsl": {
    "h": 249.474,
    "s": 69.796,
    "l": 51.961
  },
  "oklch": {
    "l": 0.46666,
    "c": 0.23991,
    "h": 278.8
  },
  "luminance": 0.08551
}

Semantic roles & 50–950 ramp

primary
#4A2FDA
secondary
#CCD88D
accent
#ED3BD1
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #4A2FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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