#4A2088#4A2088

#4A2088 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.160 H 295.8°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#4A2088
RGBrgb(74, 32, 136)
HSLhsl(264, 62%, 33%)
HSVhsv(264, 76%, 53%)
CMYKcmyk(45.6%, 76.5%, 0%, 46.7%)
CIE-LABlab(24.53, 42.41, -50.43)
CIE-LCHlch(24.53, 65.89, 310.07°)
OKLaboklab(36.85% 0.0699 -0.1444)
OKLCHoklch(36.85% 0.16 295.8)
XYZxyz(7.7833, 4.2663, 23.7012)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2088 #5E8820
analogous
#202A88 #4A2088 #7E2088
triadic
#4A2088 #884A20 #20884A
tetradic
#4A2088 #88202A #5E8820 #20887E
square
#4A2088 #88202A #5E8820 #20887E
split-complementary
#4A2088 #887E20 #2A8820
monochromatic
#140925 #2F1456 #4A2088 #652CBA #844DD5

Accessibility & contrast

On white

11.33
#4A2088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4A2088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2088
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2088#FFFFFF#000000##FFFFFF
##4A20881.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8B
Deuteranopia (green-blind)
#003986
Tritanopia (blue-blind)
#393B52
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4a2088;
/* rgb */ color: rgb(74, 32, 136);
/* oklch */ color: oklch(36.8% 0.160 295.8);
Tailwind
colors: {
  custom: {
    50: '#8360ac',
    500: '#4a2088',
    950: '#000000',
  },
}
SCSS
$custom: #4a2088;
$custom-light: #8360ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2088",
  "rgb": {
    "r": 74,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 264.231,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36848,
    "c": 0.16046,
    "h": 295.8
  },
  "luminance": 0.04266
}

Semantic roles & 50–950 ramp

primary
#4A2088
secondary
#8CB84C
accent
#E543A3
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4A2088

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

Preview Lab → · Contrast checker → · Palette generator →

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