#4A2392#4A2392

#4A2392 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.169 H 292.5°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#4A2392
RGBrgb(74, 35, 146)
HSLhsl(261, 61%, 35%)
HSVhsv(261, 76%, 57%)
CMYKcmyk(49.3%, 76%, 0%, 42.7%)
CIE-LABlab(25.96, 43.71, -54.30)
CIE-LCHlch(25.96, 69.71, 308.83°)
OKLaboklab(38.13% 0.0647 -0.1558)
OKLCHoklch(38.13% 0.169 292.5)
XYZxyz(8.6119, 4.7329, 27.6483)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2392 #6B9223
analogous
#233392 #4A2392 #812392
triadic
#4A2392 #924A23 #23924A
tetradic
#4A2392 #922333 #6B9223 #239281
square
#4A2392 #922333 #6B9223 #239281
split-complementary
#4A2392 #928123 #339223
monochromatic
#180B2F #311761 #4A2392 #632FC3 #8558D7

Accessibility & contrast

On white

10.79
#4A2392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4A2392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2392
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2392#FFFFFF#000000##FFFFFF
##4A23921.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#334159
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4a2392;
/* rgb */ color: rgb(74, 35, 146);
/* oklch */ color: oklch(38.1% 0.169 292.5);
Tailwind
colors: {
  custom: {
    50: '#8462b3',
    500: '#4a2392',
    950: '#000000',
  },
}
SCSS
$custom: #4a2392;
$custom-light: #8462b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2392",
  "rgb": {
    "r": 74,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 261.081,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38132,
    "c": 0.16869,
    "h": 292.5
  },
  "luminance": 0.04733
}

Semantic roles & 50–950 ramp

primary
#4A2392
secondary
#98BB55
accent
#E443AC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4A2392

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

Preview Lab → · Contrast checker → · Palette generator →

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