#4A2CB0#4A2CB0

#4A2CB0 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.194 H 284.8°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#4A2CB0
RGBrgb(74, 44, 176)
HSLhsl(254, 60%, 43%)
HSVhsv(254, 75%, 69%)
CMYKcmyk(58%, 75%, 0%, 31%)
CIE-LABlab(30.38, 47.81, -65.27)
CIE-LCHlch(30.38, 80.91, 306.23°)
OKLaboklab(42.1% 0.0497 -0.188)
OKLCHoklch(42.1% 0.194 284.8)
XYZxyz(11.5588, 6.3911, 41.6904)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2CB0 #92B02C
analogous
#2C50B0 #4A2CB0 #8C2CB0
triadic
#4A2CB0 #B04A2C #2CB04A
tetradic
#4A2CB0 #B02C50 #92B02C #2CB08C
square
#4A2CB0 #B02C50 #92B02C #2CB08C
split-complementary
#4A2CB0 #B08C2C #50B02C
monochromatic
#21144E #35207F #4A2CB0 #6748D1 #9079DD

Accessibility & contrast

On white

9.22
#4A2CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4A2CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2CB0
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2CB0#FFFFFF#000000##FFFFFF
##4A2CB01.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB4
Deuteranopia (green-blind)
#0043AE
Tritanopia (blue-blind)
#13516C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4a2cb0;
/* rgb */ color: rgb(74, 44, 176);
/* oklch */ color: oklch(42.1% 0.194 284.8);
Tailwind
colors: {
  custom: {
    50: '#8869c9',
    500: '#4a2cb0',
    950: '#000000',
  },
}
SCSS
$custom: #4a2cb0;
$custom-light: #8869c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2cb0",
  "rgb": {
    "r": 74,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 253.636,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42102,
    "c": 0.19444,
    "h": 284.8
  },
  "luminance": 0.06392
}

Semantic roles & 50–950 ramp

primary
#4A2CB0
secondary
#B3C672
accent
#E345BF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4A2CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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