#4A2377#4A2377

#4A2377 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.8% C 0.137 H 301.0°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#4A2377
RGBrgb(74, 35, 119)
HSLhsl(268, 55%, 30%)
HSVhsv(268, 71%, 47%)
CMYKcmyk(37.8%, 70.6%, 0%, 53.3%)
CIE-LABlab(23.64, 36.25, -41.15)
CIE-LCHlch(23.64, 54.84, 311.38°)
OKLaboklab(35.76% 0.0703 -0.1172)
OKLCHoklch(35.76% 0.137 301)
XYZxyz(6.7540, 3.9898, 17.8635)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2377 #507723
analogous
#232677 #4A2377 #742377
triadic
#4A2377 #774A23 #23774A
tetradic
#4A2377 #772326 #507723 #237774
square
#4A2377 #772326 #507723 #237774
split-complementary
#4A2377 #777423 #267723
monochromatic
#0F0718 #2D1548 #4A2377 #6731A6 #864ACA

Accessibility & contrast

On white

11.68
#4A2377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4A2377 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2377
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2377#FFFFFF#000000##FFFFFF
##4A23771.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387A
Deuteranopia (green-blind)
#003875
Tritanopia (blue-blind)
#40364A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4a2377;
/* rgb */ color: rgb(74, 35, 119);
/* oklch */ color: oklch(35.8% 0.137 301.0);
Tailwind
colors: {
  custom: {
    50: '#81619f',
    500: '#4a2377',
    950: '#000000',
  },
}
SCSS
$custom: #4a2377;
$custom-light: #81619f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2377",
  "rgb": {
    "r": 74,
    "g": 35,
    "b": 119
  },
  "hsl": {
    "h": 267.857,
    "s": 54.545,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35763,
    "c": 0.13662,
    "h": 301
  },
  "luminance": 0.0399
}

Semantic roles & 50–950 ramp

primary
#4A2377
secondary
#7EAA4C
accent
#DE4A99
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4A2377

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

Preview Lab → · Contrast checker → · Palette generator →

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