#4A2D89#4A2D89

#4A2D89 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.145 H 292.8°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#4A2D89
RGBrgb(74, 45, 137)
HSLhsl(259, 51%, 36%)
HSVhsv(259, 67%, 54%)
CMYKcmyk(46%, 67.2%, 0%, 46.3%)
CIE-LABlab(27.13, 35.73, -46.82)
CIE-LCHlch(27.13, 58.90, 307.35°)
OKLaboklab(38.72% 0.0564 -0.1339)
OKLCHoklch(38.72% 0.145 292.8)
XYZxyz(8.2765, 5.1385, 24.2178)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2D89 #6C892D
analogous
#2D3E89 #4A2D89 #782D89
triadic
#4A2D89 #894A2D #2D894A
tetradic
#4A2D89 #892D3E #6C892D #2D8978
square
#4A2D89 #892D3E #6C892D #2D8978
split-complementary
#4A2D89 #89782D #3E892D
monochromatic
#180F2D #311E5B #4A2D89 #633CB7 #8564CC

Accessibility & contrast

On white

10.36
#4A2D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4A2D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2D89
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2D89#FFFFFF#000000##FFFFFF
##4A2D891.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#384357
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a2d89;
/* rgb */ color: rgb(74, 45, 137);
/* oklch */ color: oklch(38.7% 0.145 292.8);
Tailwind
colors: {
  custom: {
    50: '#8268ac',
    500: '#4a2d89',
    950: '#000000',
  },
}
SCSS
$custom: #4a2d89;
$custom-light: #8268ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2d89",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 258.913,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38723,
    "c": 0.14527,
    "h": 292.8
  },
  "luminance": 0.05139
}

Semantic roles & 50–950 ramp

primary
#4A2D89
secondary
#98B35F
accent
#DA4EAE
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4A2D89

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

Preview Lab → · Contrast checker → · Palette generator →

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