#3D22B5#3D22B5

#3D22B5 is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.3% C 0.211 H 279.6°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#3D22B5
RGBrgb(61, 34, 181)
HSLhsl(251, 68%, 42%)
HSVhsv(251, 81%, 71%)
CMYKcmyk(66.3%, 81.2%, 0%, 29%)
CIE-LABlab(28.04, 52.61, -72.15)
CIE-LCHlch(28.04, 89.30, 306.10°)
OKLaboklab(40.33% 0.0351 -0.2083)
OKLCHoklch(40.33% 0.211 279.6)
XYZxyz(10.8343, 5.4715, 44.1923)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D22B5 #9AB522
analogous
#2251B5 #3D22B5 #8622B5
triadic
#3D22B5 #B53D22 #22B53D
tetradic
#3D22B5 #B52251 #9AB522 #22B586
square
#3D22B5 #B52251 #9AB522 #22B586
split-complementary
#3D22B5 #B58622 #51B522
monochromatic
#1A0F4E #2C1881 #3D22B5 #583ADA #836EE4

Accessibility & contrast

On white

10.03
#3D22B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3D22B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D22B5
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D22B5#FFFFFF#000000##FFFFFF
##3D22B51.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B9
Deuteranopia (green-blind)
#003CB2
Tritanopia (blue-blind)
#00506D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3d22b5;
/* rgb */ color: rgb(61, 34, 181);
/* oklch */ color: oklch(40.3% 0.211 279.6);
Tailwind
colors: {
  custom: {
    50: '#8463cd',
    500: '#3d22b5',
    950: '#000000',
  },
}
SCSS
$custom: #3d22b5;
$custom-light: #8463cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3d22b5",
  "rgb": {
    "r": 61,
    "g": 34,
    "b": 181
  },
  "hsl": {
    "h": 251.02,
    "s": 68.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40332,
    "c": 0.21126,
    "h": 279.6
  },
  "luminance": 0.05472
}

Semantic roles & 50–950 ramp

primary
#3D22B5
secondary
#B8CA69
accent
#EB3DCB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0514
muted
#7D7A82

Preview Lab

Preview with #3D22B5

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

Preview Lab → · Contrast checker → · Palette generator →

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