#3D1EBB#3D1EBB

#3D1EBB is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.6% C 0.221 H 279.1°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#3D1EBB
RGBrgb(61, 30, 187)
HSLhsl(252, 72%, 43%)
HSVhsv(252, 84%, 73%)
CMYKcmyk(67.4%, 84%, 0%, 26.7%)
CIE-LABlab(28.13, 56.03, -75.56)
CIE-LCHlch(28.13, 94.06, 306.56°)
OKLaboklab(40.6% 0.0349 -0.2182)
OKLCHoklch(40.6% 0.221 279.1)
XYZxyz(11.3555, 5.5075, 47.4687)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1EBB #9CBB1E
analogous
#1E4EBB #3D1EBB #8B1EBB
triadic
#3D1EBB #BB3D1E #1EBB3D
tetradic
#3D1EBB #BB1E4E #9CBB1E #1EBB8B
square
#3D1EBB #BB1E4E #9CBB1E #1EBB8B
split-complementary
#3D1EBB #BB8B1E #4EBB1E
monochromatic
#1B0D52 #2C1686 #3D1EBB #5837DF #846CE7

Accessibility & contrast

On white

9.99
#3D1EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3D1EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1EBB
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1EBB#FFFFFF#000000##FFFFFF
##3D1EBB1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048BF
Deuteranopia (green-blind)
#003CB8
Tritanopia (blue-blind)
#00516F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3d1ebb;
/* rgb */ color: rgb(61, 30, 187);
/* oklch */ color: oklch(40.6% 0.221 279.1);
Tailwind
colors: {
  custom: {
    50: '#8561d1',
    500: '#3d1ebb',
    950: '#000000',
  },
}
SCSS
$custom: #3d1ebb;
$custom-light: #8561d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1ebb",
  "rgb": {
    "r": 61,
    "g": 30,
    "b": 187
  },
  "hsl": {
    "h": 251.847,
    "s": 72.35,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40595,
    "c": 0.22093,
    "h": 279.1
  },
  "luminance": 0.05509
}

Semantic roles & 50–950 ramp

primary
#3D1EBB
secondary
#B9CD67
accent
#EF39CB
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0514
muted
#7E7A83

Preview Lab

Preview with #3D1EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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