#3A22AE#3A22AE

#3A22AE is a dark, highly saturated violet. Relative luminance 0.051; OKLCH L 39.3% C 0.204 H 279.3°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#3A22AE
RGBrgb(58, 34, 174)
HSLhsl(250, 67%, 41%)
HSVhsv(250, 80%, 68%)
CMYKcmyk(66.7%, 80.5%, 0%, 31.8%)
CIE-LABlab(27.01, 50.28, -69.67)
CIE-LCHlch(27.01, 85.91, 305.82°)
OKLaboklab(39.33% 0.0328 -0.2012)
OKLCHoklch(39.33% 0.204 279.3)
XYZxyz(9.9545, 5.0988, 40.4958)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A22AE #96AE22
analogous
#2250AE #3A22AE #8022AE
triadic
#3A22AE #AE3A22 #22AE3A
tetradic
#3A22AE #AE2250 #96AE22 #22AE80
square
#3A22AE #AE2250 #96AE22 #22AE80
split-complementary
#3A22AE #AE8022 #50AE22
monochromatic
#180E48 #29187B #3A22AE #5136D8 #7D69E2

Accessibility & contrast

On white

10.40
#3A22AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3A22AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A22AE
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A22AE#FFFFFF#000000##FFFFFF
##3A22AE1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B2
Deuteranopia (green-blind)
#003AAC
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3a22ae;
/* rgb */ color: rgb(58, 34, 174);
/* oklch */ color: oklch(39.3% 0.204 279.3);
Tailwind
colors: {
  custom: {
    50: '#8162c8',
    500: '#3a22ae',
    950: '#000000',
  },
}
SCSS
$custom: #3a22ae;
$custom-light: #8162c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a22ae",
  "rgb": {
    "r": 58,
    "g": 34,
    "b": 174
  },
  "hsl": {
    "h": 250.286,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39333,
    "c": 0.20382,
    "h": 279.3
  },
  "luminance": 0.051
}

Semantic roles & 50–950 ramp

primary
#3A22AE
secondary
#B6C764
accent
#EA3ECD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3A22AE

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

Preview Lab → · Contrast checker → · Palette generator →

#3A22AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva