#3D20BB#3D20BB

#3D20BB is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.8% C 0.220 H 278.9°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#3D20BB
RGBrgb(61, 32, 187)
HSLhsl(251, 71%, 43%)
HSVhsv(251, 83%, 73%)
CMYKcmyk(67.4%, 82.9%, 0%, 26.7%)
CIE-LABlab(28.41, 55.21, -75.10)
CIE-LCHlch(28.41, 93.21, 306.32°)
OKLaboklab(40.78% 0.0341 -0.2169)
OKLCHoklch(40.78% 0.22 278.9)
XYZxyz(11.4077, 5.6120, 47.4861)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D20BB #9EBB20
analogous
#2050BB #3D20BB #8A20BB
triadic
#3D20BB #BB3D20 #20BB3D
tetradic
#3D20BB #BB2050 #9EBB20 #20BB8A
square
#3D20BB #BB2050 #9EBB20 #20BB8A
split-complementary
#3D20BB #BB8A20 #50BB20
monochromatic
#1B0E52 #2C1787 #3D20BB #593BDD #856FE6

Accessibility & contrast

On white

9.89
#3D20BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3D20BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D20BB
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D20BB#FFFFFF#000000##FFFFFF
##3D20BB1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d20bb;
/* rgb */ color: rgb(61, 32, 187);
/* oklch */ color: oklch(40.8% 0.220 278.9);
Tailwind
colors: {
  custom: {
    50: '#8562d1',
    500: '#3d20bb',
    950: '#000000',
  },
}
SCSS
$custom: #3d20bb;
$custom-light: #8562d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d20bb",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 187
  },
  "hsl": {
    "h": 251.226,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40785,
    "c": 0.21952,
    "h": 278.9
  },
  "luminance": 0.05613
}

Semantic roles & 50–950 ramp

primary
#3D20BB
secondary
#BACD6A
accent
#EE3ACC
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0514
muted
#7E7A83

Preview Lab

Preview with #3D20BB

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

Preview Lab → · Contrast checker → · Palette generator →

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