#3D22BB#3D22BB

#3D22BB is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 41.0% C 0.218 H 278.8°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#3D22BB
RGBrgb(61, 34, 187)
HSLhsl(251, 69%, 43%)
HSVhsv(251, 82%, 73%)
CMYKcmyk(67.4%, 81.8%, 0%, 26.7%)
CIE-LABlab(28.70, 54.35, -74.62)
CIE-LCHlch(28.70, 92.31, 306.07°)
OKLaboklab(40.99% 0.0332 -0.2155)
OKLCHoklch(40.99% 0.218 278.8)
XYZxyz(11.4633, 5.7230, 47.5046)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D22BB #A0BB22
analogous
#2253BB #3D22BB #8922BB
triadic
#3D22BB #BB3D22 #22BB3D
tetradic
#3D22BB #BB2253 #A0BB22 #22BB89
square
#3D22BB #BB2253 #A0BB22 #22BB89
split-complementary
#3D22BB #BB8922 #53BB22
monochromatic
#1B0F53 #2C1987 #3D22BB #5A3EDC #8672E5

Accessibility & contrast

On white

9.79
#3D22BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3D22BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D22BB
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D22BB#FFFFFF#000000##FFFFFF
##3D22BB1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BF
Deuteranopia (green-blind)
#003DB8
Tritanopia (blue-blind)
#005270
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3d22bb;
/* rgb */ color: rgb(61, 34, 187);
/* oklch */ color: oklch(41.0% 0.218 278.8);
Tailwind
colors: {
  custom: {
    50: '#8563d1',
    500: '#3d22bb',
    950: '#000000',
  },
}
SCSS
$custom: #3d22bb;
$custom-light: #8563d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d22bb",
  "rgb": {
    "r": 61,
    "g": 34,
    "b": 187
  },
  "hsl": {
    "h": 250.588,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40986,
    "c": 0.21804,
    "h": 278.8
  },
  "luminance": 0.05724
}

Semantic roles & 50–950 ramp

primary
#3D22BB
secondary
#BBCC6D
accent
#EC3CCD
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0614
muted
#7D7A83

Preview Lab

Preview with #3D22BB

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

Preview Lab → · Contrast checker → · Palette generator →

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