#4A36AA#4A36AA

#4A36AA is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.9% C 0.176 H 284.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#4A36AA
RGBrgb(74, 54, 170)
HSLhsl(250, 52%, 44%)
HSVhsv(250, 68%, 67%)
CMYKcmyk(56.5%, 68.2%, 0%, 33.3%)
CIE-LABlab(31.80, 40.53, -59.35)
CIE-LCHlch(31.80, 71.87, 304.33°)
OKLaboklab(42.95% 0.0427 -0.1707)
OKLCHoklch(42.95% 0.176 284.1)
XYZxyz(11.3967, 6.9958, 38.7722)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A36AA #96AA36
analogous
#365CAA #4A36AA #8436AA
triadic
#4A36AA #AA4A36 #36AA4A
tetradic
#4A36AA #AA365C #96AA36 #36AA84
square
#4A36AA #AA365C #96AA36 #36AA84
split-complementary
#4A36AA #AA8436 #5CAA36
monochromatic
#22184D #36277C #4A36AA #6854C9 #9183D8

Accessibility & contrast

On white

8.75
#4A36AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4A36AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A36AA
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A36AA#FFFFFF#000000##FFFFFF
##4A36AA1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0047A8
Tritanopia (blue-blind)
#1B546B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4a36aa;
/* rgb */ color: rgb(74, 54, 170);
/* oklch */ color: oklch(42.9% 0.176 284.1);
Tailwind
colors: {
  custom: {
    50: '#866fc4',
    500: '#4a36aa',
    950: '#000000',
  },
}
SCSS
$custom: #4a36aa;
$custom-light: #866fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a36aa",
  "rgb": {
    "r": 74,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 250.345,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42945,
    "c": 0.17595,
    "h": 284.1
  },
  "luminance": 0.06996
}

Semantic roles & 50–950 ramp

primary
#4A36AA
secondary
#B5C17B
accent
#DB4DC3
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4A36AA

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

Preview Lab → · Contrast checker → · Palette generator →

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