#4A2D8F#4A2D8F

#4A2D8F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.2% C 0.153 H 291.3°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#4A2D8F
RGBrgb(74, 45, 143)
HSLhsl(258, 52%, 37%)
HSVhsv(258, 69%, 56%)
CMYKcmyk(48.3%, 68.5%, 0%, 43.9%)
CIE-LABlab(27.62, 37.50, -49.75)
CIE-LCHlch(27.62, 62.30, 307.01°)
OKLaboklab(39.23% 0.0556 -0.1425)
OKLCHoklch(39.23% 0.153 291.3)
XYZxyz(8.7190, 5.3155, 26.5479)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2D8F #728F2D
analogous
#2D418F #4A2D8F #7B2D8F
triadic
#4A2D8F #8F4A2D #2D8F4A
tetradic
#4A2D8F #8F2D41 #728F2D #2D8F7B
square
#4A2D8F #8F2D41 #728F2D #2D8F7B
split-complementary
#4A2D8F #8F7B2D #418F2D
monochromatic
#1A1032 #321E60 #4A2D8F #623CBE #8667CF

Accessibility & contrast

On white

10.18
#4A2D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4A2D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2D8F
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2D8F#FFFFFF#000000##FFFFFF
##4A2D8F1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#34455A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4a2d8f;
/* rgb */ color: rgb(74, 45, 143);
/* oklch */ color: oklch(39.2% 0.153 291.3);
Tailwind
colors: {
  custom: {
    50: '#8368b1',
    500: '#4a2d8f',
    950: '#000000',
  },
}
SCSS
$custom: #4a2d8f;
$custom-light: #8368b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2d8f",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 257.755,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39229,
    "c": 0.15293,
    "h": 291.3
  },
  "luminance": 0.05316
}

Semantic roles & 50–950 ramp

primary
#4A2D8F
secondary
#9DB662
accent
#DC4CB1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4A2D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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