#4A2CB6#4A2CB6

#4A2CB6 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.7% C 0.201 H 283.8°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#4A2CB6
RGBrgb(74, 44, 182)
HSLhsl(253, 61%, 44%)
HSVhsv(253, 76%, 71%)
CMYKcmyk(59.3%, 75.8%, 0%, 28.6%)
CIE-LABlab(30.96, 49.58, -67.89)
CIE-LCHlch(30.96, 84.06, 306.14°)
OKLaboklab(42.69% 0.0482 -0.1956)
OKLCHoklch(42.69% 0.201 283.8)
XYZxyz(12.1656, 6.6338, 44.8863)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2CB6 #98B62C
analogous
#2C53B6 #4A2CB6 #8F2CB6
triadic
#4A2CB6 #B64A2C #2CB64A
tetradic
#4A2CB6 #B62C53 #98B62C #2CB68F
square
#4A2CB6 #B62C53 #98B62C #2CB68F
split-complementary
#4A2CB6 #B68F2C #53B62C
monochromatic
#221453 #362085 #4A2CB6 #694CD4 #927DE0

Accessibility & contrast

On white

9.02
#4A2CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4A2CB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2CB6
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2CB6#FFFFFF#000000##FFFFFF
##4A2CB61.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBA
Deuteranopia (green-blind)
#0044B3
Tritanopia (blue-blind)
#01536F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4a2cb6;
/* rgb */ color: rgb(74, 44, 182);
/* oklch */ color: oklch(42.7% 0.201 283.8);
Tailwind
colors: {
  custom: {
    50: '#8969cd',
    500: '#4a2cb6',
    950: '#000000',
  },
}
SCSS
$custom: #4a2cb6;
$custom-light: #8969cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2cb6",
  "rgb": {
    "r": 74,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 253.043,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42685,
    "c": 0.20148,
    "h": 283.8
  },
  "luminance": 0.06635
}

Semantic roles & 50–950 ramp

primary
#4A2CB6
secondary
#B6C876
accent
#E444C1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4A2CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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