#4A358D#4A358D

#4A358D is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.3% C 0.139 H 289.7°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#4A358D
RGBrgb(74, 53, 141)
HSLhsl(254, 45%, 38%)
HSVhsv(254, 62%, 55%)
CMYKcmyk(47.5%, 62.4%, 0%, 44.7%)
CIE-LABlab(29.22, 32.16, -45.90)
CIE-LCHlch(29.22, 56.04, 305.01°)
OKLaboklab(40.34% 0.0469 -0.1312)
OKLCHoklch(40.34% 0.139 289.7)
XYZxyz(8.9035, 5.9248, 25.8686)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A358D #788D35
analogous
#354C8D #4A358D #76358D
triadic
#4A358D #8D4A35 #358D4A
tetradic
#4A358D #8D354C #788D35 #358D76
square
#4A358D #8D354C #788D35 #358D76
split-complementary
#4A358D #8D7635 #4C8D35
monochromatic
#1B1434 #332461 #4A358D #6146B9 #8772CA

Accessibility & contrast

On white

9.61
#4A358D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4A358D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A358D
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A358D#FFFFFF#000000##FFFFFF
##4A358D1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#35495C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4a358d;
/* rgb */ color: rgb(74, 53, 141);
/* oklch */ color: oklch(40.3% 0.139 289.7);
Tailwind
colors: {
  custom: {
    50: '#826daf',
    500: '#4a358d',
    950: '#000000',
  },
}
SCSS
$custom: #4a358d;
$custom-light: #826daf;
$custom-dark: #000000;
JSON
{
  "hex": "#4a358d",
  "rgb": {
    "r": 74,
    "g": 53,
    "b": 141
  },
  "hsl": {
    "h": 254.318,
    "s": 45.361,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40343,
    "c": 0.13929,
    "h": 289.7
  },
  "luminance": 0.05925
}

Semantic roles & 50–950 ramp

primary
#4A358D
secondary
#A2B26B
accent
#D553B6
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4A358D

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

Preview Lab → · Contrast checker → · Palette generator →

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