#4A298E#4A298E

#4A298E is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.6% C 0.157 H 292.4°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#4A298E
RGBrgb(74, 41, 142)
HSLhsl(260, 55%, 36%)
HSVhsv(260, 71%, 56%)
CMYKcmyk(47.9%, 71.1%, 0%, 44.3%)
CIE-LABlab(26.72, 39.45, -50.59)
CIE-LCHlch(26.72, 64.15, 307.94°)
OKLaboklab(38.56% 0.0599 -0.1449)
OKLCHoklch(38.56% 0.157 292.4)
XYZxyz(8.4981, 4.9944, 26.1022)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A298E #6D8E29
analogous
#293A8E #4A298E #7C298E
triadic
#4A298E #8E4A29 #298E4A
tetradic
#4A298E #8E293A #6D8E29 #298E7C
square
#4A298E #8E293A #6D8E29 #298E7C
split-complementary
#4A298E #8E7C29 #3A8E29
monochromatic
#190E2F #311B5F #4A298E #6337BD #8560D1

Accessibility & contrast

On white

10.51
#4A298E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4A298E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A298E
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A298E#FFFFFF#000000##FFFFFF
##4A298E1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#354258
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4a298e;
/* rgb */ color: rgb(74, 41, 142);
/* oklch */ color: oklch(38.6% 0.157 292.4);
Tailwind
colors: {
  custom: {
    50: '#8365b0',
    500: '#4a298e',
    950: '#000000',
  },
}
SCSS
$custom: #4a298e;
$custom-light: #8365b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a298e",
  "rgb": {
    "r": 74,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 259.604,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38561,
    "c": 0.15682,
    "h": 292.4
  },
  "luminance": 0.04995
}

Semantic roles & 50–950 ramp

primary
#4A298E
secondary
#99B75C
accent
#DF49AE
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4A298E

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

Preview Lab → · Contrast checker → · Palette generator →

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