#4A307C#4A307C

#4A307C is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.2% C 0.124 H 295.7°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#4A307C
RGBrgb(74, 48, 124)
HSLhsl(261, 44%, 34%)
HSVhsv(261, 61%, 49%)
CMYKcmyk(40.3%, 61.3%, 0%, 51.4%)
CIE-LABlab(26.81, 30.13, -39.20)
CIE-LCHlch(26.81, 49.44, 307.54°)
OKLaboklab(38.18% 0.0538 -0.1115)
OKLCHoklch(38.18% 0.124 295.7)
XYZxyz(7.5181, 5.0248, 19.6387)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A307C #627C30
analogous
#303C7C #4A307C #70307C
triadic
#4A307C #7C4A30 #307C4A
tetradic
#4A307C #7C303C #627C30 #307C70
square
#4A307C #7C303C #627C30 #307C70
split-complementary
#4A307C #7C7030 #3C7C30
monochromatic
#150E24 #301F50 #4A307C #6441A8 #8464C3

Accessibility & contrast

On white

10.47
#4A307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4A307C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A307C
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A307C#FFFFFF#000000##FFFFFF
##4A307C1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01407E
Deuteranopia (green-blind)
#0F3E7A
Tritanopia (blue-blind)
#3E4051
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4a307c;
/* rgb */ color: rgb(74, 48, 124);
/* oklch */ color: oklch(38.2% 0.124 295.7);
Tailwind
colors: {
  custom: {
    50: '#8069a2',
    500: '#4a307c',
    950: '#000000',
  },
}
SCSS
$custom: #4a307c;
$custom-light: #8069a2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a307c",
  "rgb": {
    "r": 74,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 260.526,
    "s": 44.186,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38177,
    "c": 0.12374,
    "h": 295.7
  },
  "luminance": 0.05025
}

Semantic roles & 50–950 ramp

primary
#4A307C
secondary
#90AA5E
accent
#D454A8
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4A307C

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

Preview Lab → · Contrast checker → · Palette generator →

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