#4A2CA8#4A2CA8

#4A2CA8 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.3% C 0.185 H 286.2°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#4A2CA8
RGBrgb(74, 44, 168)
HSLhsl(255, 58%, 42%)
HSVhsv(255, 74%, 66%)
CMYKcmyk(56%, 73.8%, 0%, 34.1%)
CIE-LABlab(29.62, 45.45, -61.71)
CIE-LCHlch(29.62, 76.64, 306.37°)
OKLaboklab(41.34% 0.0516 -0.1776)
OKLCHoklch(41.34% 0.185 286.2)
XYZxyz(10.7905, 6.0838, 37.6439)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2CA8 #8AA82C
analogous
#2C4CA8 #4A2CA8 #882CA8
triadic
#4A2CA8 #A84A2C #2CA84A
tetradic
#4A2CA8 #A82C4C #8AA82C #2CA888
square
#4A2CA8 #A82C4C #8AA82C #2CA888
split-complementary
#4A2CA8 #A8882C #4CA82C
monochromatic
#1F1347 #351F78 #4A2CA8 #6543CE #8D74DB

Accessibility & contrast

On white

9.47
#4A2CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4A2CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2CA8
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2CA8#FFFFFF#000000##FFFFFF
##4A2CA81.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#0042A6
Tritanopia (blue-blind)
#1F4E67
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4a2ca8;
/* rgb */ color: rgb(74, 44, 168);
/* oklch */ color: oklch(41.3% 0.185 286.2);
Tailwind
colors: {
  custom: {
    50: '#8768c3',
    500: '#4a2ca8',
    950: '#000000',
  },
}
SCSS
$custom: #4a2ca8;
$custom-light: #8768c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2ca8",
  "rgb": {
    "r": 74,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 254.516,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41339,
    "c": 0.18492,
    "h": 286.2
  },
  "luminance": 0.06084
}

Semantic roles & 50–950 ramp

primary
#4A2CA8
secondary
#AEC26E
accent
#E246BC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4A2CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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