#4A2CDB#4A2CDB

#4A2CDB is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.4% C 0.243 H 279.0°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#4A2CDB
RGBrgb(74, 44, 219)
HSLhsl(250, 71%, 52%)
HSVhsv(250, 80%, 86%)
CMYKcmyk(66.2%, 79.9%, 0%, 14.1%)
CIE-LABlab(34.74, 60.24, -83.26)
CIE-LCHlch(34.74, 102.77, 305.89°)
OKLaboklab(46.45% 0.0379 -0.2404)
OKLCHoklch(46.45% 0.243 279)
XYZxyz(16.5068, 8.3703, 67.7498)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2CDB #BDDB2C
analogous
#2C66DB #4A2CDB #A22CDB
triadic
#4A2CDB #DB4A2C #2CDB4A
tetradic
#4A2CDB #DB2C66 #BDDB2C #2CDBA2
square
#4A2CDB #DB2C66 #BDDB2C #2CDBA2
split-complementary
#4A2CDB #DBA22C #66DB2C
monochromatic
#261478 #361DAC #4A2CDB #7760E4 #A495ED

Accessibility & contrast

On white

7.85
#4A2CDB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4A2CDB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2CDB
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2CDB#FFFFFF#000000##FFFFFF
##4A2CDB1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058E0
Deuteranopia (green-blind)
#004BD8
Tritanopia (blue-blind)
#006285
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4a2cdb;
/* rgb */ color: rgb(74, 44, 219);
/* oklch */ color: oklch(46.4% 0.243 279.0);
Tailwind
colors: {
  custom: {
    50: '#906be8',
    500: '#4a2cdb',
    950: '#000000',
  },
}
SCSS
$custom: #4a2cdb;
$custom-light: #906be8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2cdb",
  "rgb": {
    "r": 74,
    "g": 44,
    "b": 219
  },
  "hsl": {
    "h": 250.286,
    "s": 70.85,
    "l": 51.569
  },
  "oklch": {
    "l": 0.46447,
    "c": 0.2434,
    "h": 279
  },
  "luminance": 0.08372
}

Semantic roles & 50–950 ramp

primary
#4A2CDB
secondary
#CBD88B
accent
#EE3ACF
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #4A2CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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