#4A298C#4A298C

#4A298C is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.4% C 0.154 H 293.0°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#4A298C
RGBrgb(74, 41, 140)
HSLhsl(260, 55%, 35%)
HSVhsv(260, 71%, 55%)
CMYKcmyk(47.1%, 70.7%, 0%, 45.1%)
CIE-LABlab(26.55, 38.87, -49.63)
CIE-LCHlch(26.55, 63.04, 308.07°)
OKLaboklab(38.39% 0.0603 -0.1421)
OKLCHoklch(38.39% 0.154 293)
XYZxyz(8.3493, 4.9349, 25.3185)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A298C #6B8C29
analogous
#29398C #4A298C #7B298C
triadic
#4A298C #8C4A29 #298C4A
tetradic
#4A298C #8C2939 #6B8C29 #298C7B
square
#4A298C #8C2939 #6B8C29 #298C7B
split-complementary
#4A298C #8C7B29 #398C29
monochromatic
#180D2D #311B5D #4A298C #6337BB #855FD0

Accessibility & contrast

On white

10.57
#4A298C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4A298C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A298C
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A298C#FFFFFF#000000##FFFFFF
##4A298C1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#003D8A
Tritanopia (blue-blind)
#364257
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4a298c;
/* rgb */ color: rgb(74, 41, 140);
/* oklch */ color: oklch(38.4% 0.154 293.0);
Tailwind
colors: {
  custom: {
    50: '#8365ae',
    500: '#4a298c',
    950: '#000000',
  },
}
SCSS
$custom: #4a298c;
$custom-light: #8365ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4a298c",
  "rgb": {
    "r": 74,
    "g": 41,
    "b": 140
  },
  "hsl": {
    "h": 260,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38386,
    "c": 0.15435,
    "h": 293
  },
  "luminance": 0.04935
}

Semantic roles & 50–950 ramp

primary
#4A298C
secondary
#98B65B
accent
#DE4AAD
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4A298C

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

Preview Lab → · Contrast checker → · Palette generator →

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