#4A2288#4A2288

#4A2288 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.158 H 295.5°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#4A2288
RGBrgb(74, 34, 136)
HSLhsl(264, 60%, 33%)
HSVhsv(264, 75%, 53%)
CMYKcmyk(45.6%, 75%, 0%, 46.7%)
CIE-LABlab(24.88, 41.43, -49.86)
CIE-LCHlch(24.88, 64.82, 309.72°)
OKLaboklab(37.09% 0.0681 -0.1427)
OKLCHoklch(37.09% 0.158 295.5)
XYZxyz(7.8388, 4.3773, 23.7197)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2288 #608822
analogous
#222D88 #4A2288 #7D2288
triadic
#4A2288 #884A22 #22884A
tetradic
#4A2288 #88222D #608822 #22887D
square
#4A2288 #88222D #608822 #22887D
split-complementary
#4A2288 #887D22 #2D8822
monochromatic
#150A26 #2F1657 #4A2288 #652EB9 #8451D3

Accessibility & contrast

On white

11.20
#4A2288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4A2288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2288
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2288#FFFFFF#000000##FFFFFF
##4A22881.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8B
Deuteranopia (green-blind)
#003A86
Tritanopia (blue-blind)
#393C53
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4a2288;
/* rgb */ color: rgb(74, 34, 136);
/* oklch */ color: oklch(37.1% 0.158 295.5);
Tailwind
colors: {
  custom: {
    50: '#8361ac',
    500: '#4a2288',
    950: '#000000',
  },
}
SCSS
$custom: #4a2288;
$custom-light: #8361ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2288",
  "rgb": {
    "r": 74,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 263.529,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37094,
    "c": 0.15814,
    "h": 295.5
  },
  "luminance": 0.04377
}

Semantic roles & 50–950 ramp

primary
#4A2288
secondary
#8EB74F
accent
#E345A5
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4A2288

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

Preview Lab → · Contrast checker → · Palette generator →

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