#4A337C#4A337C

#4A337C is a dark, moderate violet. Relative luminance 0.053; OKLCH L 38.7% C 0.119 H 294.7°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#4A337C
RGBrgb(74, 51, 124)
HSLhsl(259, 42%, 34%)
HSVhsv(259, 59%, 49%)
CMYKcmyk(40.3%, 58.9%, 0%, 51.4%)
CIE-LABlab(27.51, 28.27, -38.06)
CIE-LCHlch(27.51, 47.41, 306.61°)
OKLaboklab(38.7% 0.0498 -0.1081)
OKLCHoklch(38.7% 0.119 294.7)
XYZxyz(7.6450, 5.2786, 19.6810)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A337C #657C33
analogous
#33417C #4A337C #6F337C
triadic
#4A337C #7C4A33 #337C4A
tetradic
#4A337C #7C3341 #657C33 #337C6F
square
#4A337C #7C3341 #657C33 #337C6F
split-complementary
#4A337C #7C6F33 #417C33
monochromatic
#160F25 #302151 #4A337C #6445A7 #8468C1

Accessibility & contrast

On white

10.22
#4A337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A337C
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A337C#FFFFFF#000000##FFFFFF
##4A337C1.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D427E
Deuteranopia (green-blind)
#15407A
Tritanopia (blue-blind)
#3D4252
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4a337c;
/* rgb */ color: rgb(74, 51, 124);
/* oklch */ color: oklch(38.7% 0.119 294.7);
Tailwind
colors: {
  custom: {
    50: '#806ba2',
    500: '#4a337c',
    950: '#000000',
  },
}
SCSS
$custom: #4a337c;
$custom-light: #806ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a337c",
  "rgb": {
    "r": 74,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 258.904,
    "s": 41.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38698,
    "c": 0.11903,
    "h": 294.7
  },
  "luminance": 0.05279
}

Semantic roles & 50–950 ramp

primary
#4A337C
secondary
#93A962
accent
#D256AB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #4A337C

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

Preview Lab → · Contrast checker → · Palette generator →

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