#4A307D#4A307D

#4A307D is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.3% C 0.125 H 295.4°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#4A307D
RGBrgb(74, 48, 125)
HSLhsl(260, 45%, 34%)
HSVhsv(260, 62%, 49%)
CMYKcmyk(40.8%, 61.6%, 0%, 51%)
CIE-LABlab(26.88, 30.42, -39.71)
CIE-LCHlch(26.88, 50.02, 307.45°)
OKLaboklab(38.25% 0.0537 -0.113)
OKLCHoklch(38.25% 0.125 295.4)
XYZxyz(7.5817, 5.0503, 19.9734)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A307D #637D30
analogous
#303D7D #4A307D #71307D
triadic
#4A307D #7D4A30 #307D4A
tetradic
#4A307D #7D303D #637D30 #307D71
square
#4A307D #7D303D #637D30 #307D71
split-complementary
#4A307D #7D7130 #3D7D30
monochromatic
#160E25 #301F51 #4A307D #6441A9 #8464C3

Accessibility & contrast

On white

10.45
#4A307D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A307D
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A307D#FFFFFF#000000##FFFFFF
##4A307D1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004080
Deuteranopia (green-blind)
#0C3E7B
Tritanopia (blue-blind)
#3D4151
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a307d;
/* rgb */ color: rgb(74, 48, 125);
/* oklch */ color: oklch(38.3% 0.125 295.4);
Tailwind
colors: {
  custom: {
    50: '#8069a3',
    500: '#4a307d',
    950: '#000000',
  },
}
SCSS
$custom: #4a307d;
$custom-light: #8069a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a307d",
  "rgb": {
    "r": 74,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 260.26,
    "s": 44.509,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38253,
    "c": 0.1251,
    "h": 295.4
  },
  "luminance": 0.0505
}

Semantic roles & 50–950 ramp

primary
#4A307D
secondary
#91AB5E
accent
#D454A9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4A307D

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

Preview Lab → · Contrast checker → · Palette generator →

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