#4A347E#4A347E

#4A347E is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.0% C 0.120 H 293.8°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#4A347E
RGBrgb(74, 52, 126)
HSLhsl(258, 42%, 35%)
HSVhsv(258, 59%, 49%)
CMYKcmyk(41.3%, 58.7%, 0%, 50.6%)
CIE-LABlab(27.89, 28.24, -38.70)
CIE-LCHlch(27.89, 47.91, 306.12°)
OKLaboklab(39.02% 0.0485 -0.11)
OKLCHoklch(39.02% 0.12 293.8)
XYZxyz(7.8169, 5.4180, 20.3685)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A347E #687E34
analogous
#34437E #4A347E #6F347E
triadic
#4A347E #7E4A34 #347E4A
tetradic
#4A347E #7E3443 #687E34 #347E6F
square
#4A347E #7E3443 #687E34 #347E6F
split-complementary
#4A347E #7E6F34 #437E34
monochromatic
#171027 #312253 #4A347E #6346A9 #856BC2

Accessibility & contrast

On white

10.08
#4A347E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4A347E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A347E
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A347E#FFFFFF#000000##FFFFFF
##4A347E1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4380
Deuteranopia (green-blind)
#14417C
Tritanopia (blue-blind)
#3D4453
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4a347e;
/* rgb */ color: rgb(74, 52, 126);
/* oklch */ color: oklch(39.0% 0.120 293.8);
Tailwind
colors: {
  custom: {
    50: '#806ca4',
    500: '#4a347e',
    950: '#000000',
  },
}
SCSS
$custom: #4a347e;
$custom-light: #806ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a347e",
  "rgb": {
    "r": 74,
    "g": 52,
    "b": 126
  },
  "hsl": {
    "h": 257.838,
    "s": 41.573,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39022,
    "c": 0.12023,
    "h": 293.8
  },
  "luminance": 0.05418
}

Semantic roles & 50–950 ramp

primary
#4A347E
secondary
#95AA64
accent
#D156AD
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #4A347E

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

Preview Lab → · Contrast checker → · Palette generator →

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