#4A2999#4A2999

#4A2999 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.170 H 289.8°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#4A2999
RGBrgb(74, 41, 153)
HSLhsl(258, 58%, 38%)
HSVhsv(258, 73%, 60%)
CMYKcmyk(51.6%, 73.2%, 0%, 40%)
CIE-LABlab(27.69, 42.64, -55.78)
CIE-LCHlch(27.69, 70.21, 307.39°)
OKLaboklab(39.55% 0.0576 -0.1602)
OKLCHoklch(39.55% 0.17 289.8)
XYZxyz(9.3651, 5.3412, 30.6683)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2999 #789929
analogous
#294099 #4A2999 #822999
triadic
#4A2999 #994A29 #29994A
tetradic
#4A2999 #992940 #789929 #299982
square
#4A2999 #992940 #789929 #299982
split-complementary
#4A2999 #998229 #409929
monochromatic
#1B0F38 #331C69 #4A2999 #6136C9 #8766D6

Accessibility & contrast

On white

10.15
#4A2999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4A2999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2999
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2999#FFFFFF#000000##FFFFFF
##4A29991.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#2E475E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4a2999;
/* rgb */ color: rgb(74, 41, 153);
/* oklch */ color: oklch(39.5% 0.170 289.8);
Tailwind
colors: {
  custom: {
    50: '#8566b8',
    500: '#4a2999',
    950: '#000000',
  },
}
SCSS
$custom: #4a2999;
$custom-light: #8566b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2999",
  "rgb": {
    "r": 74,
    "g": 41,
    "b": 153
  },
  "hsl": {
    "h": 257.679,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39547,
    "c": 0.17023,
    "h": 289.8
  },
  "luminance": 0.05342
}

Semantic roles & 50–950 ramp

primary
#4A2999
secondary
#A2BC62
accent
#E147B4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4A2999

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

Preview Lab → · Contrast checker → · Palette generator →

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