#4A2CB3#4A2CB3

#4A2CB3 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.198 H 284.3°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#4A2CB3
RGBrgb(74, 44, 179)
HSLhsl(253, 61%, 44%)
HSVhsv(253, 75%, 70%)
CMYKcmyk(58.7%, 75.4%, 0%, 29.8%)
CIE-LABlab(30.67, 48.70, -66.58)
CIE-LCHlch(30.67, 82.49, 306.18°)
OKLaboklab(42.39% 0.0489 -0.1918)
OKLCHoklch(42.39% 0.198 284.3)
XYZxyz(11.8589, 6.5111, 43.2710)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2CB3 #95B32C
analogous
#2C51B3 #4A2CB3 #8D2CB3
triadic
#4A2CB3 #B34A2C #2CB34A
tetradic
#4A2CB3 #B32C51 #95B32C #2CB38D
square
#4A2CB3 #B32C51 #95B32C #2CB38D
split-complementary
#4A2CB3 #B38D2C #51B32C
monochromatic
#211451 #362082 #4A2CB3 #684AD2 #917BDF

Accessibility & contrast

On white

9.12
#4A2CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4A2CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2CB3
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2CB3#FFFFFF#000000##FFFFFF
##4A2CB31.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0044B1
Tritanopia (blue-blind)
#0B526E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4a2cb3;
/* rgb */ color: rgb(74, 44, 179);
/* oklch */ color: oklch(42.4% 0.198 284.3);
Tailwind
colors: {
  custom: {
    50: '#8969cb',
    500: '#4a2cb3',
    950: '#000000',
  },
}
SCSS
$custom: #4a2cb3;
$custom-light: #8969cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2cb3",
  "rgb": {
    "r": 74,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 253.333,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42393,
    "c": 0.19797,
    "h": 284.3
  },
  "luminance": 0.06512
}

Semantic roles & 50–950 ramp

primary
#4A2CB3
secondary
#B4C774
accent
#E444C0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4A2CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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