#4A2BB6#4A2BB6

#4A2BB6 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.6% C 0.202 H 284.0°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#4A2BB6
RGBrgb(74, 43, 182)
HSLhsl(253, 62%, 44%)
HSVhsv(253, 76%, 71%)
CMYKcmyk(59.3%, 76.4%, 0%, 28.6%)
CIE-LABlab(30.78, 50.07, -68.17)
CIE-LCHlch(30.78, 84.59, 306.30°)
OKLaboklab(42.56% 0.0488 -0.1965)
OKLCHoklch(42.56% 0.202 284)
XYZxyz(12.1288, 6.5602, 44.8740)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2BB6 #97B62B
analogous
#2B52B6 #4A2BB6 #902BB6
triadic
#4A2BB6 #B64A2B #2BB64A
tetradic
#4A2BB6 #B62B52 #97B62B #2BB690
square
#4A2BB6 #B62B52 #97B62B #2BB690
split-complementary
#4A2BB6 #B6902B #52B62B
monochromatic
#221453 #361F84 #4A2BB6 #694AD4 #927BE0

Accessibility & contrast

On white

9.08
#4A2BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4A2BB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2BB6
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2BB6#FFFFFF#000000##FFFFFF
##4A2BB61.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a2bb6;
/* rgb */ color: rgb(74, 43, 182);
/* oklch */ color: oklch(42.6% 0.202 284.0);
Tailwind
colors: {
  custom: {
    50: '#8968cd',
    500: '#4a2bb6',
    950: '#000000',
  },
}
SCSS
$custom: #4a2bb6;
$custom-light: #8968cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2bb6",
  "rgb": {
    "r": 74,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 253.381,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42563,
    "c": 0.20245,
    "h": 284
  },
  "luminance": 0.06561
}

Semantic roles & 50–950 ramp

primary
#4A2BB6
secondary
#B6C875
accent
#E543C1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4A2BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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