#4A2D91#4A2D91

#4A2D91 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.4% C 0.155 H 290.8°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#4A2D91
RGBrgb(74, 45, 145)
HSLhsl(257, 53%, 37%)
HSVhsv(257, 69%, 57%)
CMYKcmyk(49%, 69%, 0%, 43.1%)
CIE-LABlab(27.78, 38.09, -50.71)
CIE-LCHlch(27.78, 63.42, 306.92°)
OKLaboklab(39.4% 0.0553 -0.1453)
OKLCHoklch(39.4% 0.155 290.8)
XYZxyz(8.8718, 5.3766, 27.3529)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2D91 #74912D
analogous
#2D4291 #4A2D91 #7C2D91
triadic
#4A2D91 #914A2D #2D914A
tetradic
#4A2D91 #912D42 #74912D #2D917C
square
#4A2D91 #912D42 #74912D #2D917C
split-complementary
#4A2D91 #917C2D #42912D
monochromatic
#1A1034 #321F62 #4A2D91 #623BC0 #8668D0

Accessibility & contrast

On white

10.12
#4A2D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4A2D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2D91
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2D91#FFFFFF#000000##FFFFFF
##4A2D911.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#003F8F
Tritanopia (blue-blind)
#33465B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4a2d91;
/* rgb */ color: rgb(74, 45, 145);
/* oklch */ color: oklch(39.4% 0.155 290.8);
Tailwind
colors: {
  custom: {
    50: '#8368b2',
    500: '#4a2d91',
    950: '#000000',
  },
}
SCSS
$custom: #4a2d91;
$custom-light: #8368b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2d91",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 257.4,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.394,
    "c": 0.15546,
    "h": 290.8
  },
  "luminance": 0.05377
}

Semantic roles & 50–950 ramp

primary
#4A2D91
secondary
#9FB763
accent
#DC4CB2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4A2D91

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

Preview Lab → · Contrast checker → · Palette generator →

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