#4A2D85#4A2D85

#4A2D85 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.4% C 0.140 H 293.9°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#4A2D85
RGBrgb(74, 45, 133)
HSLhsl(260, 49%, 35%)
HSVhsv(260, 66%, 52%)
CMYKcmyk(44.4%, 66.2%, 0%, 47.8%)
CIE-LABlab(26.81, 34.56, -44.84)
CIE-LCHlch(26.81, 56.61, 307.62°)
OKLaboklab(38.39% 0.0569 -0.1281)
OKLCHoklch(38.39% 0.14 293.9)
XYZxyz(7.9949, 5.0259, 22.7346)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2D85 #68852D
analogous
#2D3C85 #4A2D85 #762D85
triadic
#4A2D85 #854A2D #2D854A
tetradic
#4A2D85 #852D3C #68852D #2D8576
square
#4A2D85 #852D3C #68852D #2D8576
split-complementary
#4A2D85 #85762D #3C852D
monochromatic
#170E2A #311E57 #4A2D85 #633CB3 #8562CA

Accessibility & contrast

On white

10.47
#4A2D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4A2D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2D85
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2D85#FFFFFF#000000##FFFFFF
##4A2D851.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#003E83
Tritanopia (blue-blind)
#3A4255
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4a2d85;
/* rgb */ color: rgb(74, 45, 133);
/* oklch */ color: oklch(38.4% 0.140 293.9);
Tailwind
colors: {
  custom: {
    50: '#8268a9',
    500: '#4a2d85',
    950: '#000000',
  },
}
SCSS
$custom: #4a2d85;
$custom-light: #8268a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2d85",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 133
  },
  "hsl": {
    "h": 259.773,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38394,
    "c": 0.14011,
    "h": 293.9
  },
  "luminance": 0.05026
}

Semantic roles & 50–950 ramp

primary
#4A2D85
secondary
#95B05D
accent
#D94FAB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4A2D85

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

Preview Lab → · Contrast checker → · Palette generator →

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