#4A2D93#4A2D93

#4A2D93 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.6% C 0.158 H 290.4°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#4A2D93
RGBrgb(74, 45, 147)
HSLhsl(257, 53%, 38%)
HSVhsv(257, 69%, 58%)
CMYKcmyk(49.7%, 69.4%, 0%, 42.4%)
CIE-LABlab(27.95, 38.69, -51.67)
CIE-LCHlch(27.95, 64.55, 306.83°)
OKLaboklab(39.57% 0.055 -0.1481)
OKLCHoklch(39.57% 0.158 290.4)
XYZxyz(9.0274, 5.4388, 28.1723)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2D93 #76932D
analogous
#2D4393 #4A2D93 #7D2D93
triadic
#4A2D93 #934A2D #2D934A
tetradic
#4A2D93 #932D43 #76932D #2D937D
square
#4A2D93 #932D43 #76932D #2D937D
split-complementary
#4A2D93 #937D2D #43932D
monochromatic
#1B1035 #321F64 #4A2D93 #623BC2 #8769D1

Accessibility & contrast

On white

10.06
#4A2D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4A2D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2D93
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2D93#FFFFFF#000000##FFFFFF
##4A2D931.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004496
Deuteranopia (green-blind)
#004091
Tritanopia (blue-blind)
#32465C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4a2d93;
/* rgb */ color: rgb(74, 45, 147);
/* oklch */ color: oklch(39.6% 0.158 290.4);
Tailwind
colors: {
  custom: {
    50: '#8468b4',
    500: '#4a2d93',
    950: '#000000',
  },
}
SCSS
$custom: #4a2d93;
$custom-light: #8468b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2d93",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 257.059,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39574,
    "c": 0.15799,
    "h": 290.4
  },
  "luminance": 0.05439
}

Semantic roles & 50–950 ramp

primary
#4A2D93
secondary
#A0B864
accent
#DD4BB3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4A2D93

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

Preview Lab → · Contrast checker → · Palette generator →

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