#4A2FD2#4A2FD2

#4A2FD2 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.8% C 0.231 H 279.7°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#4A2FD2
RGBrgb(74, 47, 210)
HSLhsl(250, 64%, 50%)
HSVhsv(250, 78%, 82%)
CMYKcmyk(64.8%, 77.6%, 0%, 17.6%)
CIE-LABlab(34.27, 56.29, -78.84)
CIE-LCHlch(34.27, 96.87, 305.53°)
OKLaboklab(45.84% 0.0389 -0.2276)
OKLCHoklch(45.84% 0.231 279.7)
XYZxyz(15.4697, 8.1408, 61.7164)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2FD2 #B7D22F
analogous
#2F65D2 #4A2FD2 #9C2FD2
triadic
#4A2FD2 #D24A2F #2FD24A
tetradic
#4A2FD2 #D22F65 #B7D22F #2FD29C
square
#4A2FD2 #D22F65 #B7D22F #2FD29C
split-complementary
#4A2FD2 #D29C2F #65D22F
monochromatic
#26186F #3823A1 #4A2FD2 #7661DD #A294E8

Accessibility & contrast

On white

7.99
#4A2FD2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4A2FD2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2FD2
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2FD2#FFFFFF#000000##FFFFFF
##4A2FD21.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D7
Deuteranopia (green-blind)
#004ACF
Tritanopia (blue-blind)
#006080
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4a2fd2;
/* rgb */ color: rgb(74, 47, 210);
/* oklch */ color: oklch(45.8% 0.231 279.7);
Tailwind
colors: {
  custom: {
    50: '#8e6ce1',
    500: '#4a2fd2',
    950: '#000000',
  },
}
SCSS
$custom: #4a2fd2;
$custom-light: #8e6ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2fd2",
  "rgb": {
    "r": 74,
    "g": 47,
    "b": 210
  },
  "hsl": {
    "h": 249.939,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45844,
    "c": 0.23092,
    "h": 279.7
  },
  "luminance": 0.08142
}

Semantic roles & 50–950 ramp

primary
#4A2FD2
secondary
#C7D38A
accent
#E740CC
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #4A2FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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