#4A2CA6#4A2CA6

#4A2CA6 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.183 H 286.6°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#4A2CA6
RGBrgb(74, 44, 166)
HSLhsl(255, 58%, 41%)
HSVhsv(255, 73%, 65%)
CMYKcmyk(55.4%, 73.5%, 0%, 34.9%)
CIE-LABlab(29.44, 44.86, -60.81)
CIE-LCHlch(29.44, 75.57, 306.42°)
OKLaboklab(41.15% 0.0521 -0.1749)
OKLCHoklch(41.15% 0.183 286.6)
XYZxyz(10.6056, 6.0098, 36.6702)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2CA6 #88A62C
analogous
#2C4BA6 #4A2CA6 #872CA6
triadic
#4A2CA6 #A64A2C #2CA64A
tetradic
#4A2CA6 #A62C4B #88A62C #2CA687
square
#4A2CA6 #A62C4B #88A62C #2CA687
split-complementary
#4A2CA6 #A6872C #4BA62C
monochromatic
#1F1245 #341F76 #4A2CA6 #6442CD #8C73DA

Accessibility & contrast

On white

9.54
#4A2CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4A2CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2CA6
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2CA6#FFFFFF#000000##FFFFFF
##4A2CA61.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#0042A4
Tritanopia (blue-blind)
#224D66
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4a2ca6;
/* rgb */ color: rgb(74, 44, 166);
/* oklch */ color: oklch(41.2% 0.183 286.6);
Tailwind
colors: {
  custom: {
    50: '#8768c1',
    500: '#4a2ca6',
    950: '#000000',
  },
}
SCSS
$custom: #4a2ca6;
$custom-light: #8768c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2ca6",
  "rgb": {
    "r": 74,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 254.754,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41151,
    "c": 0.18252,
    "h": 286.6
  },
  "luminance": 0.0601
}

Semantic roles & 50–950 ramp

primary
#4A2CA6
secondary
#ACC16D
accent
#E146BB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4A2CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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