#4A2092#4A2092

#4A2092 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.172 H 293.0°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#4A2092
RGBrgb(74, 32, 146)
HSLhsl(262, 64%, 35%)
HSVhsv(262, 78%, 57%)
CMYKcmyk(49.3%, 78.1%, 0%, 42.7%)
CIE-LABlab(25.45, 45.15, -55.13)
CIE-LCHlch(25.45, 71.26, 309.32°)
OKLaboklab(37.78% 0.0672 -0.1582)
OKLCHoklch(37.78% 0.172 293)
XYZxyz(8.5274, 4.5639, 27.6202)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2092 #689220
analogous
#202F92 #4A2092 #832092
triadic
#4A2092 #924A20 #20924A
tetradic
#4A2092 #92202F #689220 #209283
square
#4A2092 #92202F #689220 #209283
split-complementary
#4A2092 #928320 #2F9220
monochromatic
#170A2E #311560 #4A2092 #632BC4 #8553D9

Accessibility & contrast

On white

10.98
#4A2092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4A2092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2092
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2092#FFFFFF#000000##FFFFFF
##4A20921.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003A90
Tritanopia (blue-blind)
#334058
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4a2092;
/* rgb */ color: rgb(74, 32, 146);
/* oklch */ color: oklch(37.8% 0.172 293.0);
Tailwind
colors: {
  custom: {
    50: '#8461b3',
    500: '#4a2092',
    950: '#000000',
  },
}
SCSS
$custom: #4a2092;
$custom-light: #8461b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2092",
  "rgb": {
    "r": 74,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 262.105,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37778,
    "c": 0.17189,
    "h": 293
  },
  "luminance": 0.04564
}

Semantic roles & 50–950 ramp

primary
#4A2092
secondary
#95BD51
accent
#E741AA
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A2092

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

Preview Lab → · Contrast checker → · Palette generator →

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