#4A3099#4A3099

#4A3099 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.5% C 0.162 H 288.4°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#4A3099
RGBrgb(74, 48, 153)
HSLhsl(255, 52%, 39%)
HSVhsv(255, 69%, 60%)
CMYKcmyk(51.6%, 68.6%, 0%, 40%)
CIE-LABlab(29.08, 38.78, -53.50)
CIE-LCHlch(29.08, 66.08, 305.93°)
OKLaboklab(40.54% 0.051 -0.1535)
OKLCHoklch(40.54% 0.162 288.4)
XYZxyz(9.6291, 5.8692, 30.7563)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A3099 #7F9930
analogous
#304B99 #4A3099 #7F3099
triadic
#4A3099 #994A30 #30994A
tetradic
#4A3099 #99304B #7F9930 #30997F
square
#4A3099 #99304B #7F9930 #30997F
split-complementary
#4A3099 #997F30 #4B9930
monochromatic
#1D133C #33216A #4A3099 #6242C4 #8971D2

Accessibility & contrast

On white

9.66
#4A3099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4A3099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A3099
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A3099#FFFFFF#000000##FFFFFF
##4A30991.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#2D4A60
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4a3099;
/* rgb */ color: rgb(74, 48, 153);
/* oklch */ color: oklch(40.5% 0.162 288.4);
Tailwind
colors: {
  custom: {
    50: '#846ab8',
    500: '#4a3099',
    950: '#000000',
  },
}
SCSS
$custom: #4a3099;
$custom-light: #846ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a3099",
  "rgb": {
    "r": 74,
    "g": 48,
    "b": 153
  },
  "hsl": {
    "h": 254.857,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40542,
    "c": 0.16176,
    "h": 288.4
  },
  "luminance": 0.0587
}

Semantic roles & 50–950 ramp

primary
#4A3099
secondary
#A6BA6B
accent
#DC4CB8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4A3099

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

Preview Lab → · Contrast checker → · Palette generator →

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