#4A2490#4A2490

#4A2490 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.165 H 292.9°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#4A2490
RGBrgb(74, 36, 144)
HSLhsl(261, 60%, 35%)
HSVhsv(261, 75%, 56%)
CMYKcmyk(48.6%, 75%, 0%, 43.5%)
CIE-LABlab(25.95, 42.65, -53.08)
CIE-LCHlch(25.95, 68.09, 308.78°)
OKLaboklab(38.07% 0.0643 -0.1522)
OKLCHoklch(38.07% 0.165 292.9)
XYZxyz(8.4876, 4.7309, 26.8461)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2490 #6A9024
analogous
#243490 #4A2490 #802490
triadic
#4A2490 #904A24 #24904A
tetradic
#4A2490 #902434 #6A9024 #249080
square
#4A2490 #902434 #6A9024 #249080
split-complementary
#4A2490 #908024 #349024
monochromatic
#180C2E #31185F #4A2490 #6330C1 #8559D5

Accessibility & contrast

On white

10.79
#4A2490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4A2490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2490
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2490#FFFFFF#000000##FFFFFF
##4A24901.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#344158
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4a2490;
/* rgb */ color: rgb(74, 36, 144);
/* oklch */ color: oklch(38.1% 0.165 292.9);
Tailwind
colors: {
  custom: {
    50: '#8463b1',
    500: '#4a2490',
    950: '#000000',
  },
}
SCSS
$custom: #4a2490;
$custom-light: #8463b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2490",
  "rgb": {
    "r": 74,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 261.111,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38072,
    "c": 0.16523,
    "h": 292.9
  },
  "luminance": 0.04731
}

Semantic roles & 50–950 ramp

primary
#4A2490
secondary
#97BA56
accent
#E345AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4A2490

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

Preview Lab → · Contrast checker → · Palette generator →

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