#4A33A2#4A33A2

#4A33A2 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.8% C 0.169 H 286.0°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#4A33A2
RGBrgb(74, 51, 162)
HSLhsl(252, 52%, 42%)
HSVhsv(252, 69%, 64%)
CMYKcmyk(54.3%, 68.5%, 0%, 36.5%)
CIE-LABlab(30.48, 39.79, -56.69)
CIE-LCHlch(30.48, 69.26, 305.07°)
OKLaboklab(41.78% 0.0467 -0.1629)
OKLCHoklch(41.78% 0.169 286)
XYZxyz(10.5275, 6.4316, 34.8621)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A33A2 #8BA233
analogous
#3354A2 #4A33A2 #8233A2
triadic
#4A33A2 #A24A33 #33A24A
tetradic
#4A33A2 #A23354 #8BA233 #33A282
square
#4A33A2 #A23354 #8BA233 #33A282
split-complementary
#4A33A2 #A28233 #54A233
monochromatic
#1F1645 #352473 #4A33A2 #654CC7 #8D7AD5

Accessibility & contrast

On white

9.18
#4A33A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4A33A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A33A2
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A33A2#FFFFFF#000000##FFFFFF
##4A33A21.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA5
Deuteranopia (green-blind)
#0044A0
Tritanopia (blue-blind)
#254F66
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4a33a2;
/* rgb */ color: rgb(74, 51, 162);
/* oklch */ color: oklch(41.8% 0.169 286.0);
Tailwind
colors: {
  custom: {
    50: '#856cbe',
    500: '#4a33a2',
    950: '#000000',
  },
}
SCSS
$custom: #4a33a2;
$custom-light: #856cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4a33a2",
  "rgb": {
    "r": 74,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 252.432,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41783,
    "c": 0.16945,
    "h": 286
  },
  "luminance": 0.06432
}

Semantic roles & 50–950 ramp

primary
#4A33A2
secondary
#AEBE73
accent
#DC4CBE
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4A33A2

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

Preview Lab → · Contrast checker → · Palette generator →

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