#4A2485#4A2485

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

Color values

HEX#4A2485
RGBrgb(74, 36, 133)
HSLhsl(264, 57%, 33%)
HSVhsv(264, 73%, 52%)
CMYKcmyk(44.4%, 72.9%, 0%, 47.8%)
CIE-LABlab(24.99, 39.57, -47.81)
CIE-LCHlch(24.99, 62.06, 309.61°)
OKLaboklab(37.09% 0.0667 -0.1367)
OKLCHoklch(37.09% 0.152 296)
XYZxyz(7.6874, 4.4109, 22.6321)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2485 #5F8524
analogous
#242F85 #4A2485 #7A2485
triadic
#4A2485 #854A24 #24854A
tetradic
#4A2485 #85242F #5F8524 #24857A
square
#4A2485 #85242F #5F8524 #24857A
split-complementary
#4A2485 #857A24 #2F8524
monochromatic
#140A25 #2F1755 #4A2485 #6531B5 #8453D0

Accessibility & contrast

On white

11.16
#4A2485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A2485
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2485#FFFFFF#000000##FFFFFF
##4A24851.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#3A3C52
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4a2485;
/* rgb */ color: rgb(74, 36, 133);
/* oklch */ color: oklch(37.1% 0.152 296.0);
Tailwind
colors: {
  custom: {
    50: '#8262a9',
    500: '#4a2485',
    950: '#000000',
  },
}
SCSS
$custom: #4a2485;
$custom-light: #8262a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2485",
  "rgb": {
    "r": 74,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 263.505,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37087,
    "c": 0.15215,
    "h": 296
  },
  "luminance": 0.04411
}

Semantic roles & 50–950 ramp

primary
#4A2485
secondary
#8DB450
accent
#E147A5
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4A2485

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

Preview Lab → · Contrast checker → · Palette generator →

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