#3B22AF#3B22AF

#3B22AF is a dark, highly saturated violet. Relative luminance 0.052; OKLCH L 39.5% C 0.205 H 279.5°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#3B22AF
RGBrgb(59, 34, 175)
HSLhsl(251, 67%, 41%)
HSVhsv(251, 81%, 69%)
CMYKcmyk(66.3%, 80.6%, 0%, 31.4%)
CIE-LABlab(27.21, 50.67, -69.94)
CIE-LCHlch(27.21, 86.37, 305.92°)
OKLaboklab(39.52% 0.034 -0.2019)
OKLCHoklch(39.52% 0.205 279.5)
XYZxyz(10.1111, 5.1682, 41.0139)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B22AF #96AF22
analogous
#224FAF #3B22AF #8122AF
triadic
#3B22AF #AF3B22 #22AF3B
tetradic
#3B22AF #AF224F #96AF22 #22AF81
square
#3B22AF #AF224F #96AF22 #22AF81
split-complementary
#3B22AF #AF8122 #4FAF22
monochromatic
#180E49 #2A187C #3B22AF #5336D8 #7F69E2

Accessibility & contrast

On white

10.33
#3B22AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3B22AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B22AF
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B22AF#FFFFFF#000000##FFFFFF
##3B22AF1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b22af;
/* rgb */ color: rgb(59, 34, 175);
/* oklch */ color: oklch(39.5% 0.205 279.5);
Tailwind
colors: {
  custom: {
    50: '#8262c8',
    500: '#3b22af',
    950: '#000000',
  },
}
SCSS
$custom: #3b22af;
$custom-light: #8262c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3b22af",
  "rgb": {
    "r": 59,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 250.638,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39521,
    "c": 0.20478,
    "h": 279.5
  },
  "luminance": 0.05169
}

Semantic roles & 50–950 ramp

primary
#3B22AF
secondary
#B6C865
accent
#EA3DCC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3B22AF

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

Preview Lab → · Contrast checker → · Palette generator →

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