#4A308D#4A308D

#4A308D is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.5% C 0.146 H 291.1°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#4A308D
RGBrgb(74, 48, 141)
HSLhsl(257, 49%, 37%)
HSVhsv(257, 66%, 55%)
CMYKcmyk(47.5%, 66%, 0%, 44.7%)
CIE-LABlab(28.09, 35.17, -47.73)
CIE-LCHlch(28.09, 59.29, 306.38°)
OKLaboklab(39.52% 0.0526 -0.1365)
OKLCHoklch(39.52% 0.146 291.1)
XYZxyz(8.6874, 5.4925, 25.7966)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A308D #738D30
analogous
#30458D #4A308D #79308D
triadic
#4A308D #8D4A30 #308D4A
tetradic
#4A308D #8D3045 #738D30 #308D79
square
#4A308D #8D3045 #738D30 #308D79
split-complementary
#4A308D #8D7930 #458D30
monochromatic
#1A1132 #32205F #4A308D #6240BB #866BCD

Accessibility & contrast

On white

10.01
#4A308D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4A308D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A308D
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A308D#FFFFFF#000000##FFFFFF
##4A308D1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#35465A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4a308d;
/* rgb */ color: rgb(74, 48, 141);
/* oklch */ color: oklch(39.5% 0.146 291.1);
Tailwind
colors: {
  custom: {
    50: '#826aaf',
    500: '#4a308d',
    950: '#000000',
  },
}
SCSS
$custom: #4a308d;
$custom-light: #826aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#4a308d",
  "rgb": {
    "r": 74,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 256.774,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39523,
    "c": 0.14632,
    "h": 291.1
  },
  "luminance": 0.05493
}

Semantic roles & 50–950 ramp

primary
#4A308D
secondary
#9EB465
accent
#D94FB2
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4A308D

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

Preview Lab → · Contrast checker → · Palette generator →

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