#4A2285#4A2285

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

Color values

HEX#4A2285
RGBrgb(74, 34, 133)
HSLhsl(264, 59%, 33%)
HSVhsv(264, 74%, 52%)
CMYKcmyk(44.4%, 74.4%, 0%, 47.8%)
CIE-LABlab(24.62, 40.60, -48.41)
CIE-LCHlch(24.62, 63.18, 309.99°)
OKLaboklab(36.83% 0.0688 -0.1385)
OKLCHoklch(36.83% 0.155 296.4)
XYZxyz(7.6286, 4.2932, 22.6125)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2285 #5D8522
analogous
#222C85 #4A2285 #7B2285
triadic
#4A2285 #854A22 #22854A
tetradic
#4A2285 #85222C #5D8522 #22857B
square
#4A2285 #85222C #5D8522 #22857B
split-complementary
#4A2285 #857B22 #2C8522
monochromatic
#140924 #2F1654 #4A2285 #652EB6 #844FD2

Accessibility & contrast

On white

11.30
#4A2285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4A2285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2285
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2285#FFFFFF#000000##FFFFFF
##4A22851.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#3A3B51
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4a2285;
/* rgb */ color: rgb(74, 34, 133);
/* oklch */ color: oklch(36.8% 0.155 296.4);
Tailwind
colors: {
  custom: {
    50: '#8261a9',
    500: '#4a2285',
    950: '#000000',
  },
}
SCSS
$custom: #4a2285;
$custom-light: #8261a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2285",
  "rgb": {
    "r": 74,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 264.242,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36826,
    "c": 0.15462,
    "h": 296.4
  },
  "luminance": 0.04293
}

Semantic roles & 50–950 ramp

primary
#4A2285
secondary
#8BB64D
accent
#E245A3
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4A2285

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

Preview Lab → · Contrast checker → · Palette generator →

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