#4A2376#4A2376

#4A2376 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.7% C 0.135 H 301.3°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#4A2376
RGBrgb(74, 35, 118)
HSLhsl(268, 54%, 30%)
HSVhsv(268, 70%, 46%)
CMYKcmyk(37.3%, 70.3%, 0%, 53.7%)
CIE-LABlab(23.56, 35.98, -40.64)
CIE-LCHlch(23.56, 54.27, 311.52°)
OKLaboklab(35.68% 0.0704 -0.1157)
OKLCHoklch(35.68% 0.135 301.3)
XYZxyz(6.6943, 3.9659, 17.5488)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2376 #4F7623
analogous
#232576 #4A2376 #742376
triadic
#4A2376 #764A23 #23764A
tetradic
#4A2376 #762325 #4F7623 #237674
square
#4A2376 #762325 #4F7623 #237674
split-complementary
#4A2376 #767423 #257623
monochromatic
#0F0718 #2C1547 #4A2376 #6831A5 #864AC9

Accessibility & contrast

On white

11.71
#4A2376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4A2376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2376
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2376#FFFFFF#000000##FFFFFF
##4A23761.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003879
Deuteranopia (green-blind)
#003874
Tritanopia (blue-blind)
#413649
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4a2376;
/* rgb */ color: rgb(74, 35, 118);
/* oklch */ color: oklch(35.7% 0.135 301.3);
Tailwind
colors: {
  custom: {
    50: '#81619e',
    500: '#4a2376',
    950: '#000000',
  },
}
SCSS
$custom: #4a2376;
$custom-light: #81619e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2376",
  "rgb": {
    "r": 74,
    "g": 35,
    "b": 118
  },
  "hsl": {
    "h": 268.193,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.35681,
    "c": 0.13541,
    "h": 301.3
  },
  "luminance": 0.03966
}

Semantic roles & 50–950 ramp

primary
#4A2376
secondary
#7DA94C
accent
#DE4A98
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4A2376

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

Preview Lab → · Contrast checker → · Palette generator →

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