#4A2397#4A2397

#4A2397 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.174 H 291.3°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#4A2397
RGBrgb(74, 35, 151)
HSLhsl(260, 62%, 36%)
HSVhsv(260, 77%, 59%)
CMYKcmyk(51%, 76.8%, 0%, 40.8%)
CIE-LABlab(26.42, 45.11, -56.62)
CIE-LCHlch(26.42, 72.40, 308.55°)
OKLaboklab(38.6% 0.0633 -0.1626)
OKLCHoklch(38.6% 0.174 291.3)
XYZxyz(9.0094, 4.8919, 29.7417)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2397 #709723
analogous
#233697 #4A2397 #842397
triadic
#4A2397 #974A23 #23974A
tetradic
#4A2397 #972336 #709723 #239784
square
#4A2397 #972336 #709723 #239784
split-complementary
#4A2397 #978423 #369723
monochromatic
#190C34 #321765 #4A2397 #622FC9 #865BD9

Accessibility & contrast

On white

10.61
#4A2397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4A2397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2397
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2397#FFFFFF#000000##FFFFFF
##4A23971.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#30435C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4a2397;
/* rgb */ color: rgb(74, 35, 151);
/* oklch */ color: oklch(38.6% 0.174 291.3);
Tailwind
colors: {
  custom: {
    50: '#8562b7',
    500: '#4a2397',
    950: '#000000',
  },
}
SCSS
$custom: #4a2397;
$custom-light: #8562b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2397",
  "rgb": {
    "r": 74,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 260.172,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38601,
    "c": 0.17449,
    "h": 291.3
  },
  "luminance": 0.04892
}

Semantic roles & 50–950 ramp

primary
#4A2397
secondary
#9CBE58
accent
#E542AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4A2397

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

Preview Lab → · Contrast checker → · Palette generator →

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