#4A359D#4A359D

#4A359D is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.7% C 0.161 H 286.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#4A359D
RGBrgb(74, 53, 157)
HSLhsl(252, 50%, 41%)
HSVhsv(252, 66%, 62%)
CMYKcmyk(52.9%, 66.2%, 0%, 38.4%)
CIE-LABlab(30.49, 37.09, -53.65)
CIE-LCHlch(30.49, 65.22, 304.66°)
OKLaboklab(41.66% 0.0454 -0.1539)
OKLCHoklch(41.66% 0.161 286.4)
XYZxyz(10.1811, 6.4359, 32.5975)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A359D #889D35
analogous
#35549D #4A359D #7E359D
triadic
#4A359D #9D4A35 #359D4A
tetradic
#4A359D #9D3554 #889D35 #359D7E
square
#4A359D #9D3554 #889D35 #359D7E
split-complementary
#4A359D #9D7E35 #549D35
monochromatic
#1F1641 #34266F #4A359D #644CC3 #8C7AD2

Accessibility & contrast

On white

9.18
#4A359D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4A359D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A359D
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A359D#FFFFFF#000000##FFFFFF
##4A359D1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#00459B
Tritanopia (blue-blind)
#2A4F64
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4a359d;
/* rgb */ color: rgb(74, 53, 157);
/* oklch */ color: oklch(41.7% 0.161 286.4);
Tailwind
colors: {
  custom: {
    50: '#846ebb',
    500: '#4a359d',
    950: '#000000',
  },
}
SCSS
$custom: #4a359d;
$custom-light: #846ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a359d",
  "rgb": {
    "r": 74,
    "g": 53,
    "b": 157
  },
  "hsl": {
    "h": 252.115,
    "s": 49.524,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4166,
    "c": 0.16051,
    "h": 286.4
  },
  "luminance": 0.06436
}

Semantic roles & 50–950 ramp

primary
#4A359D
secondary
#ACBB73
accent
#D94FBD
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4A359D

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

Preview Lab → · Contrast checker → · Palette generator →

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