#4A22AF#4A22AF

#4A22AF is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 40.8% C 0.203 H 286.3°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#4A22AF
RGBrgb(74, 34, 175)
HSLhsl(257, 67%, 41%)
HSVhsv(257, 81%, 69%)
CMYKcmyk(57.7%, 80.6%, 0%, 31.4%)
CIE-LABlab(28.63, 52.27, -67.55)
CIE-LCHlch(28.63, 85.41, 307.73°)
OKLaboklab(40.85% 0.0567 -0.1946)
OKLCHoklch(40.85% 0.203 286.3)
XYZxyz(11.1316, 5.6944, 41.0617)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A22AF #87AF22
analogous
#2241AF #4A22AF #9022AF
triadic
#4A22AF #AF4A22 #22AF4A
tetradic
#4A22AF #AF2241 #87AF22 #22AF90
square
#4A22AF #AF2241 #87AF22 #22AF90
split-complementary
#4A22AF #AF9022 #41AF22
monochromatic
#1F0E49 #34187C #4A22AF #6436D8 #8C69E2

Accessibility & contrast

On white

9.82
#4A22AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4A22AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A22AF
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A22AF#FFFFFF#000000##FFFFFF
##4A22AF1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#003FAD
Tritanopia (blue-blind)
#164C69
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4a22af;
/* rgb */ color: rgb(74, 34, 175);
/* oklch */ color: oklch(40.8% 0.203 286.3);
Tailwind
colors: {
  custom: {
    50: '#8963c8',
    500: '#4a22af',
    950: '#000000',
  },
}
SCSS
$custom: #4a22af;
$custom-light: #8963c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a22af",
  "rgb": {
    "r": 74,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 257.021,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4085,
    "c": 0.20266,
    "h": 286.3
  },
  "luminance": 0.05695
}

Semantic roles & 50–950 ramp

primary
#4A22AF
secondary
#ACC865
accent
#EA3DB9
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4A22AF

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

Preview Lab → · Contrast checker → · Palette generator →

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