#4A298F#4A298F

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

Color values

HEX#4A298F
RGBrgb(74, 41, 143)
HSLhsl(259, 55%, 36%)
HSVhsv(259, 71%, 56%)
CMYKcmyk(48.3%, 71.3%, 0%, 43.9%)
CIE-LABlab(26.80, 39.74, -51.07)
CIE-LCHlch(26.80, 64.71, 307.89°)
OKLaboklab(38.65% 0.0597 -0.1463)
OKLCHoklch(38.65% 0.158 292.2)
XYZxyz(8.5735, 5.0246, 26.4994)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A298F #6E8F29
analogous
#293B8F #4A298F #7D298F
triadic
#4A298F #8F4A29 #298F4A
tetradic
#4A298F #8F293B #6E8F29 #298F7D
square
#4A298F #8F293B #6E8F29 #298F7D
split-complementary
#4A298F #8F7D29 #3B8F29
monochromatic
#190E30 #311B5F #4A298F #6337BF #8561D2

Accessibility & contrast

On white

10.47
#4A298F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4A298F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A298F
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A298F#FFFFFF#000000##FFFFFF
##4A298F1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#354359
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4a298f;
/* rgb */ color: rgb(74, 41, 143);
/* oklch */ color: oklch(38.6% 0.158 292.2);
Tailwind
colors: {
  custom: {
    50: '#8365b1',
    500: '#4a298f',
    950: '#000000',
  },
}
SCSS
$custom: #4a298f;
$custom-light: #8365b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a298f",
  "rgb": {
    "r": 74,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 259.412,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38649,
    "c": 0.15805,
    "h": 292.2
  },
  "luminance": 0.05025
}

Semantic roles & 50–950 ramp

primary
#4A298F
secondary
#9AB75C
accent
#DF49AE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4A298F

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

Preview Lab → · Contrast checker → · Palette generator →

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