#3B22A9#3B22A9

#3B22A9 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.9% C 0.198 H 280.4°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#3B22A9
RGBrgb(59, 34, 169)
HSLhsl(251, 67%, 40%)
HSVhsv(251, 80%, 66%)
CMYKcmyk(65.1%, 79.9%, 0%, 33.7%)
CIE-LABlab(26.56, 48.89, -67.41)
CIE-LCHlch(26.56, 83.27, 305.95°)
OKLaboklab(38.88% 0.0357 -0.1946)
OKLCHoklch(38.88% 0.198 280.4)
XYZxyz(9.5348, 4.9377, 37.9790)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B22A9 #90A922
analogous
#224DA9 #3B22A9 #7E22A9
triadic
#3B22A9 #A93B22 #22A93B
tetradic
#3B22A9 #A9224D #90A922 #22A97E
square
#3B22A9 #A9224D #90A922 #22A97E
split-complementary
#3B22A9 #A97E22 #4DA922
monochromatic
#170D43 #291876 #3B22A9 #5132D6 #7C65E0

Accessibility & contrast

On white

10.57
#3B22A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3B22A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B22A9
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B22A9#FFFFFF#000000##FFFFFF
##3B22A91.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AD
Deuteranopia (green-blind)
#003AA7
Tritanopia (blue-blind)
#004B66
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3b22a9;
/* rgb */ color: rgb(59, 34, 169);
/* oklch */ color: oklch(38.9% 0.198 280.4);
Tailwind
colors: {
  custom: {
    50: '#8062c4',
    500: '#3b22a9',
    950: '#000000',
  },
}
SCSS
$custom: #3b22a9;
$custom-light: #8062c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3b22a9",
  "rgb": {
    "r": 59,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 251.111,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38876,
    "c": 0.19784,
    "h": 280.4
  },
  "luminance": 0.04938
}

Semantic roles & 50–950 ramp

primary
#3B22A9
secondary
#B3C561
accent
#E93ECA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3B22A9

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

Preview Lab → · Contrast checker → · Palette generator →

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