#4A2995#4A2995

#4A2995 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.165 H 290.7°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#4A2995
RGBrgb(74, 41, 149)
HSLhsl(258, 57%, 37%)
HSVhsv(258, 72%, 58%)
CMYKcmyk(50.3%, 72.5%, 0%, 41.6%)
CIE-LABlab(27.33, 41.47, -53.91)
CIE-LCHlch(27.33, 68.02, 307.57°)
OKLaboklab(39.18% 0.0585 -0.1547)
OKLCHoklch(39.18% 0.165 290.7)
XYZxyz(9.0402, 5.2113, 28.9575)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2995 #749529
analogous
#293E95 #4A2995 #802995
triadic
#4A2995 #954A29 #29954A
tetradic
#4A2995 #95293E #749529 #299580
square
#4A2995 #95293E #749529 #299580
split-complementary
#4A2995 #958029 #3E9529
monochromatic
#1A0F35 #321C65 #4A2995 #6236C5 #8664D4

Accessibility & contrast

On white

10.28
#4A2995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4A2995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2995
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2995#FFFFFF#000000##FFFFFF
##4A29951.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#31455C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4a2995;
/* rgb */ color: rgb(74, 41, 149);
/* oklch */ color: oklch(39.2% 0.165 290.7);
Tailwind
colors: {
  custom: {
    50: '#8466b5',
    500: '#4a2995',
    950: '#000000',
  },
}
SCSS
$custom: #4a2995;
$custom-light: #8466b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2995",
  "rgb": {
    "r": 74,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 258.333,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39183,
    "c": 0.16539,
    "h": 290.7
  },
  "luminance": 0.05212
}

Semantic roles & 50–950 ramp

primary
#4A2995
secondary
#9FBA60
accent
#E048B2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4A2995

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

Preview Lab → · Contrast checker → · Palette generator →

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