#4A3293#4A3293

#4A3293 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.3% C 0.151 H 289.2°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#4A3293
RGBrgb(74, 50, 147)
HSLhsl(255, 49%, 39%)
HSVhsv(255, 66%, 58%)
CMYKcmyk(49.7%, 66%, 0%, 42.4%)
CIE-LABlab(29.01, 35.79, -49.94)
CIE-LCHlch(29.01, 61.44, 305.63°)
OKLaboklab(40.34% 0.0497 -0.143)
OKLCHoklch(40.34% 0.151 289.2)
XYZxyz(9.2296, 5.8433, 28.2397)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A3293 #7B9332
analogous
#324A93 #4A3293 #7A3293
triadic
#4A3293 #934A32 #32934A
tetradic
#4A3293 #93324A #7B9332 #32937A
square
#4A3293 #93324A #7B9332 #32937A
split-complementary
#4A3293 #937A32 #4A9332
monochromatic
#1C1338 #332265 #4A3293 #6243BF #8871CF

Accessibility & contrast

On white

9.68
#4A3293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4A3293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A3293
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A3293#FFFFFF#000000##FFFFFF
##4A32931.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#004291
Tritanopia (blue-blind)
#32495E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4a3293;
/* rgb */ color: rgb(74, 50, 147);
/* oklch */ color: oklch(40.3% 0.151 289.2);
Tailwind
colors: {
  custom: {
    50: '#836bb3',
    500: '#4a3293',
    950: '#000000',
  },
}
SCSS
$custom: #4a3293;
$custom-light: #836bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a3293",
  "rgb": {
    "r": 74,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 254.845,
    "s": 49.239,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40339,
    "c": 0.15144,
    "h": 289.2
  },
  "luminance": 0.05844
}

Semantic roles & 50–950 ramp

primary
#4A3293
secondary
#A4B76A
accent
#D94FB7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #4A3293

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

Preview Lab → · Contrast checker → · Palette generator →

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