#3D22B1#3D22B1

#3D22B1 is a dark, highly saturated violet. Relative luminance 0.053; OKLCH L 39.9% C 0.207 H 280.1°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#3D22B1
RGBrgb(61, 34, 177)
HSLhsl(251, 68%, 41%)
HSVhsv(251, 81%, 69%)
CMYKcmyk(65.5%, 80.8%, 0%, 30.6%)
CIE-LABlab(27.60, 51.45, -70.49)
CIE-LCHlch(27.60, 87.27, 306.13°)
OKLaboklab(39.9% 0.0363 -0.2035)
OKLCHoklch(39.9% 0.207 280.1)
XYZxyz(10.4298, 5.3096, 42.0617)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D22B1 #96B122
analogous
#224EB1 #3D22B1 #8522B1
triadic
#3D22B1 #B13D22 #22B13D
tetradic
#3D22B1 #B1224E #96B122 #22B185
square
#3D22B1 #B1224E #96B122 #22B185
split-complementary
#3D22B1 #B18522 #4EB122
monochromatic
#1A0E4A #2B187E #3D22B1 #5638D9 #816BE3

Accessibility & contrast

On white

10.18
#3D22B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3D22B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D22B1
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D22B1#FFFFFF#000000##FFFFFF
##3D22B11.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B5
Deuteranopia (green-blind)
#003CAF
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3d22b1;
/* rgb */ color: rgb(61, 34, 177);
/* oklch */ color: oklch(39.9% 0.207 280.1);
Tailwind
colors: {
  custom: {
    50: '#8362ca',
    500: '#3d22b1',
    950: '#000000',
  },
}
SCSS
$custom: #3d22b1;
$custom-light: #8362ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3d22b1",
  "rgb": {
    "r": 61,
    "g": 34,
    "b": 177
  },
  "hsl": {
    "h": 251.329,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39899,
    "c": 0.2067,
    "h": 280.1
  },
  "luminance": 0.0531
}

Semantic roles & 50–950 ramp

primary
#3D22B1
secondary
#B6C966
accent
#EB3DCA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3D22B1

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

Preview Lab → · Contrast checker → · Palette generator →

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