#4A3371#4A3371

#4A3371 is a dark, moderate violet. Relative luminance 0.050; OKLCH L 37.9% C 0.104 H 298.5°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#4A3371
RGBrgb(74, 51, 113)
HSLhsl(262, 38%, 32%)
HSVhsv(262, 55%, 44%)
CMYKcmyk(34.5%, 54.9%, 0%, 55.7%)
CIE-LABlab(26.78, 25.07, -32.26)
CIE-LCHlch(26.78, 40.86, 307.85°)
OKLaboklab(37.92% 0.0494 -0.0911)
OKLCHoklch(37.92% 0.104 298.5)
XYZxyz(6.9878, 5.0157, 16.2196)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A3371 #5A7133
analogous
#333B71 #4A3371 #693371
triadic
#4A3371 #714A33 #33714A
tetradic
#4A3371 #71333B #5A7133 #337169
square
#4A3371 #71333B #5A7133 #337169
split-complementary
#4A3371 #716933 #3B7133
monochromatic
#130D1D #2E2047 #4A3371 #66469B #8465B9

Accessibility & contrast

On white

10.48
#4A3371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4A3371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A3371
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A3371#FFFFFF#000000##FFFFFF
##4A33711.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3F73
Deuteranopia (green-blind)
#223F70
Tritanopia (blue-blind)
#423F4D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4a3371;
/* rgb */ color: rgb(74, 51, 113);
/* oklch */ color: oklch(37.9% 0.104 298.5);
Tailwind
colors: {
  custom: {
    50: '#7f6b9a',
    500: '#4a3371',
    950: '#000000',
  },
}
SCSS
$custom: #4a3371;
$custom-light: #7f6b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a3371",
  "rgb": {
    "r": 74,
    "g": 51,
    "b": 113
  },
  "hsl": {
    "h": 262.258,
    "s": 37.805,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37918,
    "c": 0.10362,
    "h": 298.5
  },
  "luminance": 0.05016
}

Semantic roles & 50–950 ramp

primary
#4A3371
secondary
#89A25E
accent
#CE5AA3
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060E
muted
#7C7A7E

Preview Lab

Preview with #4A3371

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

Preview Lab → · Contrast checker → · Palette generator →

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